Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: update rake completion for version 0.8.3



Index: Completion/Unix/Command/_rake
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_rake,v
retrieving revision 1.6
diff -u -r1.6 _rake
--- Completion/Unix/Command/_rake       7 Aug 2006 03:25:31 -0000       1.6
+++ Completion/Unix/Command/_rake       19 Jan 2009 04:20:00 -0000
@@ -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 @@
 _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
+  '(- *)'{--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
   '(--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



Messages sorted by: Reverse Date, Date, Thread, Author