Update options according to "gradle --help" with v1.4.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 17 Oct 2013 14:36:27 +0300
changeset 645 51f6d81be3da
parent 644 5a6d6ad8e7f4
child 646 b3ada0aa23ed
Update options according to "gradle --help" with v1.4.
.bash_completion.d/gradle
--- a/.bash_completion.d/gradle	Wed Oct 16 19:48:29 2013 +0300
+++ b/.bash_completion.d/gradle	Thu Oct 17 14:36:27 2013 +0300
@@ -3,8 +3,10 @@
 _gradle()
 {
    local _opts="-? -h --help -A --dep-tasks -C --cache -D --system-prop -I --init-script -P --project-prop -S --full-stacktrace -a --no-rebuild --all \
-     -b --build-file -c --settings-file -d --debug -e --embedded -g --gradle-user-home --gui -i --info -m --dry-run -n --dependencies --no-opt -p --project-dir \
-     -q --quiet -r --properties -s --stacktrace -t --tasks -u --no-search-upward -v --version -x --exclude-task"
+     -b --build-file -c --settings-file -d --debug -e --embedded -g --gradle-user-home --gui -i --info -m --dry-run --no-opt -p --project-dir \
+     -q --quiet -r --properties -s --stacktrace -t --tasks -u --no-search-upward -v --version -x --exclude-task \
+     --continue --daemon --foreground --no-color --no-daemon --offline --parallel --parallel-threads --project-cache-dir --recompile-scripts --refresh --refresh-dependencies \
+     --rerun-tasks --stop"
    local _help_cmds='dependencies dependencyInsight help projects properties tasks'
    local _java_cmds='assemble build buildDependents buildNeeded classes compileJava processResources clean cleanTest jar testClasses compileTestJava processTestResources javadoc check test uploadArchives'
    local _application_cmds='run startScripts installApp distZip distTar'
@@ -15,7 +17,7 @@
      -I|--init-script|-b|--build-file|-c|--settings-file|-e|--embedded)
        COMPREPLY=( $(compgen -f -- "$cur") )
        return ;;
-     -g|--gradle-user-home|-p|--project-dir)
+     -g|--gradle-user-home|-p|--project-dir|--project-cache-dir)
        COMPREPLY=( $(compgen -d -- "$cur") )
        return ;;
    esac