summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_ruby
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2023-11-14 20:39:23 +0100
committerOliver Kiddle <opk@zsh.org>2023-11-14 20:39:23 +0100
commit424746982b47c4a202fe7e4ff9e401a6cd4c222d (patch)
tree10bcf7c6f1309cb7b3e2b8ad2e87bece3ed811aa /Completion/Unix/Command/_ruby
parentc3cb5a3e0cd9b6e21d5e404649098c7c659c8f9a (diff)
downloadzsh-424746982b47c4a202fe7e4ff9e401a6cd4c222d.tar.gz
zsh-424746982b47c4a202fe7e4ff9e401a6cd4c222d.zip
52301: update options in completions for ruby 3.2, gem 3.4.10 and ri 6.5
Diffstat (limited to 'Completion/Unix/Command/_ruby')
-rw-r--r--Completion/Unix/Command/_ruby4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_ruby b/Completion/Unix/Command/_ruby
index 314307ebb..b6b42637d 100644
--- a/Completion/Unix/Command/_ruby
+++ b/Completion/Unix/Command/_ruby
@@ -44,6 +44,7 @@ opts=(
\!--{en,dis}able-{gems,rubyopt,all}
'--dump=[dump debug information]:information:_sequence compadd - insns insns_without_opt yydebug parsetree parsetree_with_comment'
--{external,internal}'-encoding=:charset:->charsets'
+ '--backtrace-limit=[limit the maximum length of backtrace]:number'
'!'{-y,--yydebug}
'!--dump=:target:(version copyright usage yydebug syntax parsetree parsetree_with_comment insns)'
'(--mjit --yjit)--jit[enable jit for the platform]'
@@ -65,11 +66,10 @@ opts=(
irb=(
'-f[suppress read of ~/.irbrc]'
- '(--noinspect)-m[bc mode (load mathn, fraction, matrix)]'
$opts[(r)*-d\[*]
'(--noinspect)--inspect[use inspect for output]'
"(--inspect)--noinspect[don't use inspect for output]"
- '(--prompt --prompt-mode --inf-ruby-mode --simple-prompt --noprompt)'{--prompt,--prompt-mode}'[switch prompt mode]:prompt mode:(default simple xmp inf-ruby)'
+ '(--prompt --prompt-mode --inf-ruby-mode --simple-prompt --noprompt)'{--prompt=,--prompt-mode=}'[switch prompt mode]:prompt mode:(default classic simple inf-ruby xmp null)'
'(--prompt --prompt-mode --inf-ruby-mode --simple-prompt --noprompt)'{--inf-ruby-mode,--simple-prompt,--noprompt}
'--tracer[display trace for each command execution]'
'--back-trace-limit[set limit for backtraces]:limit [16]:'