Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: update rake completion for version 0.8.3
- X-seq: zsh-workers 26361
- From: Doug Kearns <dougkearns@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: update rake completion for version 0.8.3
- Date: Mon, 19 Jan 2009 15:22:14 +1100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=SNlZ/fjMHyTYOsmDHwZndnS4UuAPN7p9PEb5lzuqZ+s=; b=hZX2ybyqYGOVI+s7bh0FXgAwNSpXM/LmQk2w50LYPa+SfKmt/EcvEgZZyNNWVzF/YW QDef47LoAN3fP28NS1SSLg7xn05o+YSv/ySowCxoOn7txulx50sVVeUpns/rqeiyPTMS gRzEc+8TrXIsjWsnhUQI/0IYc1LOe6SO4lRhs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=au6krUmKdgz2GAZjJqE0oD00BkzQdn+xV7truNwwAe9azSnVXVeG9glxZdsJE2gAeG nWyf5jHrB2EseKHNACfYfn6yis1yN/Ysm9j6WhCInfu+xuYawUw0whXKK0B8eFzoRIIB V4ESXO4hEqEyYhb/w2nb9RBPjLC0+6ESDO9OM=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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