about summary refs log tree commit diff
path: root/Completion/X/Utility/_x_arguments
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-04 11:29:19 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-04 11:29:19 +0000
commit163b0101ed6d63c735590d561a8026d74d964401 (patch)
tree81dc4c353e7e912db60f33a00c3a4e792604e623 /Completion/X/Utility/_x_arguments
parentec01fb14b45369edadab11e88c5ce32933148c94 (diff)
downloadzsh-163b0101ed6d63c735590d561a8026d74d964401.tar.gz
zsh-163b0101ed6d63c735590d561a8026d74d964401.tar.xz
zsh-163b0101ed6d63c735590d561a8026d74d964401.zip
add -W option to _arguments, which allows to complete options after options that take an argument in the next word (13902)
Diffstat (limited to 'Completion/X/Utility/_x_arguments')
-rw-r--r--Completion/X/Utility/_x_arguments2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/X/Utility/_x_arguments b/Completion/X/Utility/_x_arguments
index 8f1723cc6..ba6dd2a68 100644
--- a/Completion/X/Utility/_x_arguments
+++ b/Completion/X/Utility/_x_arguments
@@ -17,7 +17,7 @@ else
 fi
 
 opts=()
-while [[ $1 = -(O*|[CR]) ]]; do
+while [[ $1 = -(O*|[CRWs]) ]]; do
   opts=($opts $1)
   [[ $1 = -R ]] && rawret=yes
   shift