mirror of
git://git.code.sf.net/p/zsh/code
synced 2026-01-01 20:11:06 +01:00
26361: update rake completion for version 0.8.3
This commit is contained in:
parent
3cc4bf23a1
commit
de41104d67
2 changed files with 13 additions and 5 deletions
|
|
@ -1,5 +1,7 @@
|
|||
2009-01-19 Doug Kearns <dougkearns@gmail.com>
|
||||
|
||||
* 26361: Completion/Unix/Command/_rake: update for version 0.8.3.
|
||||
|
||||
* 26360: Completion/Unix/Command/_git: add --work-tree option.
|
||||
|
||||
2009-01-15 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
|
@ -10928,5 +10930,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.4513 $
|
||||
* $Revision: 1.4514 $
|
||||
*****************************************************
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue