1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-06-18 09:28:02 +02:00

51340: update _rake for version 13

This commit is contained in:
Shohei YOSHIDA 2023-05-11 11:48:32 -07:00 committed by Bart Schaefer
parent ace2822019
commit 8bee6e6f92
2 changed files with 17 additions and 3 deletions
ChangeLog
Completion/Unix/Command

View file

@ -1,5 +1,8 @@
2023-05-11 Bart Schaefer <schaefer@zsh.org>
* Shohei YOSHIDA: 51340: Completion/Unix/Command/_rake: update
for version 13
* Shohei YOSHIDA: 51331: Completion/Unix/Command/_pydoc: update
for version 3.11

View file

@ -1,12 +1,11 @@
#compdef rake
# rake, version 0.8.3
# rake, version 13.0.6
local curcontext="$curcontext" state line expl ret=1
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]' \
'(- *)'{--describe,-D}'[describe the tasks (matching the specified pattern), then exit]:pattern::' \
'(--execute -e)'{--execute,-e}'[execute some Ruby code and exit]:Ruby code:' \
@ -15,7 +14,7 @@ _arguments -C -s -S \
'(- *)'{--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]' \
'(--nosearch --no-search -N)'{--nosearch,--no-search,-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' \
@ -27,6 +26,18 @@ _arguments -C -s -S \
'(--trace -t)'{--trace,-t}'[turn on invoke/execute tracing, enable full backtrace]' \
'(--quiet -q --silent -s --verbose -v)'{--verbose,-v}'[log message to standard output (default)]' \
'(- *)'{--version,-V}'[display version information]' \
'--backtrace=-[enable full backtrace]::out:(stderr stdout)' \
'--comments[show commented tasks only]' \
'--job-stats[display job statistics]:level' \
'--suppress-backtrace[suppress backtrace lines matching regexp PATTERN]:pattern' \
'(-A -a)'{-A,--all}'[show all tasks]' \
'(-B --build-all)'{-B,--build-all}'[build all prerequisites, including those which are up-to-date]' \
'(-C --directory)'{-C,--directory}'[change to DIRECTORY before doing anything]:dir:_files -/' \
'(-G --no-system --nosystem)'{-G,--no-system,--nosystem}'[use standard project Rakefile search paths, ignore system wide rakefiles]' \
'(-j --jobs)'{-j,--jobs}'[specifies the maximum number of tasks to execute in parallel]::tasks' \
'(-m --multitask)'{-m,--multitask}'[treat all tasks as multitasks]' \
'(- *)'{-W,--where}'[describe the tasks(matching optional PATTERN) then exit]::pattern' \
'(-X --no-deprecation-warnings)'{-X,--no-deprecation-warnings}'[disable the deprecation warnings]' \
'*:target:->target' && ret=0
case "$state" in