Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 1/1] Update rake completion for version 13
- X-seq: zsh-workers 51340
- From: Shohei YOSHIDA <syohex@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Cc: Shohei YOSHIDA <syohex@xxxxxxxxx>
- Subject: [PATCH 1/1] Update rake completion for version 13
- Date: Sat, 28 Jan 2023 13:11:02 +0900
- Archived-at: <https://zsh.org/workers/51340>
- In-reply-to: <20230128041102.341459-1-syohex@gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <20230128041102.341459-1-syohex@gmail.com>
---
Completion/Unix/Command/_rake | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/Completion/Unix/Command/_rake b/Completion/Unix/Command/_rake
index 10d621991..49b49c014 100644
--- a/Completion/Unix/Command/_rake
+++ b/Completion/Unix/Command/_rake
@@ -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
--
2.37.2
Messages sorted by:
Reverse Date,
Date,
Thread,
Author