about summary refs log tree commit diff
path: root/Completion/User/_xargs
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-03 14:44:01 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-03 14:44:01 +0000
commitaa0381bd2b64ad6ea1e24110c1c2ec6773f9288e (patch)
treef9b2e23776f0510c2cb771bb882d5731b0a3b289 /Completion/User/_xargs
parent17e79c01575b26e28e5f978d99cff250a6d9e63b (diff)
downloadzsh-aa0381bd2b64ad6ea1e24110c1c2ec6773f9288e.tar.gz
zsh-aa0381bd2b64ad6ea1e24110c1c2ec6773f9288e.tar.xz
zsh-aa0381bd2b64ad6ea1e24110c1c2ec6773f9288e.zip
allow `-' in exclusion lists for _arguments, to avoid completing all options (11121)
Diffstat (limited to 'Completion/User/_xargs')
-rw-r--r--Completion/User/_xargs12
1 files changed, 7 insertions, 5 deletions
diff --git a/Completion/User/_xargs b/Completion/User/_xargs
index 71aff222f..8b9291227 100644
--- a/Completion/User/_xargs
+++ b/Completion/User/_xargs
@@ -3,9 +3,11 @@
 _arguments \
   -{p,t,x} \
   -{e-,E}':end-of-file string:' \
-  -{i-,I}':replacement string for lines:' \
-  -{l-,L}':number of input lines:' \
-  '-n:maximum number of arguments:' \
+  '(-x -I)-i-:replacement string for lines:' \
+  '(-x -i)-I:replacement string for lines:' \
+  '(-n -L -x)-l-:number of input lines:' \
+  '(-n -l)-L:number of input lines:' \
+  '(-l -L)-n:maximum number of arguments:' \
   '-s:maximum command line length:' \
-  ':command: _command_names -e' \
-  '*::args:_normal'
+  '(-):command: _command_names -e' \
+  '*::args: _normal'