zsh-workers
 help / color / mirror / code / Atom feed
From: Shohei YOSHIDA <syohex@gmail.com>
To: zsh-workers@zsh.org
Cc: Shohei YOSHIDA <syohex@gmail.com>
Subject: [PATCH 1/1] Update rake completion for version 13
Date: Sat, 28 Jan 2023 13:11:02 +0900	[thread overview]
Message-ID: <20230128041102.341459-2-syohex@gmail.com> (raw)
In-Reply-To: <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



      reply	other threads:[~2023-01-28  4:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-28  4:11 [PATCH 0/1] " Shohei YOSHIDA
2023-01-28  4:11 ` Shohei YOSHIDA [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230128041102.341459-2-syohex@gmail.com \
    --to=syohex@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).