summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_ruby5
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 12bc70958..ea064eab8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2022-12-31 Oliver Kiddle <opk@zsh.org>
+ * Shohei YOSHIDA: 51255: Completion/Unix/Command/_ruby:
+ Update erb completion for version 4.0.2
+
* Shohei YOSHIDA: 51254: Completion/Unix/Command/_ruby:
Add irb completion for version 1.6.2
diff --git a/Completion/Unix/Command/_ruby b/Completion/Unix/Command/_ruby
index 8b1c0bf41..314307ebb 100644
--- a/Completion/Unix/Command/_ruby
+++ b/Completion/Unix/Command/_ruby
@@ -100,8 +100,9 @@ erb=(
"-P[don't evaluate lines which start with %]"
'-T[specify trim mode]:mode [0]:((0\:EOL\ remains 1\:EOL\ removed\ if\ line\ ends\ with\ %\> 2\:EOL\ removed\ if\ line\ starts\ with\ \<%\ and\ ends\ with\ %\> -\:EOL\ is\ removed\ if\ line\ ends\ with\ -%\>,\ leading\ whitespace\ removed\ after\ \<%-))'
'(-d --debug)'{-d,--debug}'[set debugging flags (set $DEBUG to true)]'
- '-n[used with -x, prepends line number to output]'
- '-x[convert eRuby to Ruby]'
+ '-n[print ruby script with line number]'
+ '-x[print ruby script]'
+ '-v[enable verbose mode]'
)
case "$service" in