equal
deleted
inserted
replaced
19 COMPREPLY=( $(compgen -f -- "$cur") ) |
19 COMPREPLY=( $(compgen -f -- "$cur") ) |
20 return ;; |
20 return ;; |
21 -g|--gradle-user-home|-p|--project-dir|--project-cache-dir) |
21 -g|--gradle-user-home|-p|--project-dir|--project-cache-dir) |
22 COMPREPLY=( $(compgen -d -- "$cur") ) |
22 COMPREPLY=( $(compgen -d -- "$cur") ) |
23 return ;; |
23 return ;; |
|
24 help) |
|
25 COMPREPLY=( $(compgen -W "--task" -- "$cur") ) |
|
26 return ;; |
|
27 --task) |
|
28 COMPREPLY=( $(compgen -W '$_help_cmds $_java_cmds $_application_cmds $_other_cmd' -- $cur) ) |
|
29 return ;; |
24 esac |
30 esac |
25 # colonprefixes=${cur%"${cur##*:}"} |
31 # colonprefixes=${cur%"${cur##*:}"} |
26 COMPREPLY=( $(compgen -W '$_opts $_help_cmds $_java_cmds $_application_cmds $_other_cmd' -- $cur) ) |
32 COMPREPLY=( $(compgen -W '$_opts $_help_cmds $_java_cmds $_application_cmds $_other_cmd' -- $cur) ) |
27 # local i=${#COMPREPLY[*]} |
33 # local i=${#COMPREPLY[*]} |
28 # while [ $((--i)) -ge 0 ]; do |
34 # while [ $((--i)) -ge 0 ]; do |