summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_rake14
1 files changed, 10 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_rake b/Completion/Unix/Command/_rake
index 72e731b22..7fed949ab 100644
--- a/Completion/Unix/Command/_rake
+++ b/Completion/Unix/Command/_rake
@@ -1,6 +1,6 @@
 #compdef rake
 
-# rake, version 0.6.0
+# rake, version 0.8.3
 
 local curcontext="$curcontext" state line expl ret=1
 typeset -A opt_args
@@ -8,17 +8,23 @@ typeset -A opt_args
 _arguments -C -s -S \
   '(--classic-namespace -C)'{--classic-namespace,-C}'[put Task and FileTask in the top level namespace]' \
   '(--dry-run -n)'{--dry-run,-n}'[do a dry run without executing actions]' \
-  '(- *)'{--help,-H}'[display help information]' \
+  '(- *)'{--describe,-D}'[describe the tasks (matching the specified pattern), then exit]:pattern::' \
+  '(--execute -e)'{--execute,-e}'[execute some Ruby code and exit]:Ruby code:' \
+  '(--execute-print -p)'{--execute-print,-p}'[execute some Ruby code, print the result, then exit]:Ruby code:' \
+  '(--execute-continue -E)'{--execute-continue,-E}'[execute some Ruby code, then continue with normal task processing]:Ruby code:' \
+  '(- *)'{--help,-h,-H}'[display help information]' \
   \*{--libdir,-I}'[include specified directory in the search path for required modules]:library directory:_files -/' \
+  '(--rakelibdir --rakelib -R)'{--rakelibdir,--rakelib,-R}'[auto-import any .rake files in the specified directory. (default is 'rakelib')]:rake library directory:_files -/' \
   '(--nosearch -N)'{--nosearch,-N}'[do not search parent directories for the Rakefile]' \
   '(- *)'{--prereqs,-P}'[display the tasks and prerequisites, then exit]' \
   '(--quiet -q --silent -s --verbose -v)'{--quiet,-q}'[do not log messages to standard output]' \
   '(--rakefile -f)'{--rakefile,-f}'[use specified file as the rakefile]:rake file:_files' \
   \*{--require,-r}'[require specified module before executing rakefile]:library:->library' \
+  '(- *)--rules[trace the rules resolution]' \
   '(--quiet -q --silent -s --verbose -v)'{--silent,-s}"[like --quiet, but also suppresses the 'in directory' announcement]" \
-  '(- *)'{--tasks,-T}'[display the tasks and dependencies, then exit]' \
+  '(--system,-g)'{--system,-g}'[using system wide (global) rakefiles (usually '~/.rake/*.rake')]' \
+  '(- *)'{--tasks,-T}'[display the tasks (matching the specified pattern) with descriptions, then exit]:pattern::' \
   '(--trace -t)'{--trace,-t}'[turn on invoke/execute tracing, enable full backtrace]' \
-  '(- *)'{--usage,-h}'[display usage information]' \
   '(--quiet -q --silent -s --verbose -v)'{--verbose,-v}'[log message to standard output (default)]' \
   '(- *)'{--version,-V}'[display version information]' \
   '*:target:->target' && ret=0