# HG changeset patch # User Oleksandr Gavenko # Date 1382009787 -10800 # Node ID 51f6d81be3da0d2691e9099cf6f5e848028e7c1b # Parent 5a6d6ad8e7f4358c939869bcdf786ddca7de35fe Update options according to "gradle --help" with v1.4. diff -r 5a6d6ad8e7f4 -r 51f6d81be3da .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