Improve completion for help task.
--- a/.bash_completion.d/gradle Mon Feb 13 22:09:01 2017 +0200
+++ b/.bash_completion.d/gradle Sat Feb 18 11:14:13 2017 +0200
@@ -21,6 +21,12 @@
-g|--gradle-user-home|-p|--project-dir|--project-cache-dir)
COMPREPLY=( $(compgen -d -- "$cur") )
return ;;
+ help)
+ COMPREPLY=( $(compgen -W "--task" -- "$cur") )
+ return ;;
+ --task)
+ COMPREPLY=( $(compgen -W '$_help_cmds $_java_cmds $_application_cmds $_other_cmd' -- $cur) )
+ return ;;
esac
# colonprefixes=${cur%"${cur##*:}"}
COMPREPLY=( $(compgen -W '$_opts $_help_cmds $_java_cmds $_application_cmds $_other_cmd' -- $cur) )