about summary refs log tree commit diff
path: root/Completion/Base/_arguments
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-09 09:52:27 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-09 09:52:27 +0000
commit8a5fb55595d730a0e1fc3a15ff5f69c58e9bdb5b (patch)
tree76d6b45499ed2b1974fe315f660ef79c5c8116dd /Completion/Base/_arguments
parent6626f6dc864341f46001f63761a5ed8510a75f90 (diff)
downloadzsh-8a5fb55595d730a0e1fc3a15ff5f69c58e9bdb5b.tar.gz
zsh-8a5fb55595d730a0e1fc3a15ff5f69c58e9bdb5b.tar.xz
zsh-8a5fb55595d730a0e1fc3a15ff5f69c58e9bdb5b.zip
option name clash in _arguments (11273)
Diffstat (limited to 'Completion/Base/_arguments')
-rw-r--r--Completion/Base/_arguments6
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments
index 7be7bef8c..0637b2cd5 100644
--- a/Completion/Base/_arguments
+++ b/Completion/Base/_arguments
@@ -150,13 +150,13 @@ fi
 
 multi=(-i)
 subopts=()
-while [[ "$1" = -(O*|C|M*) ]]; do
+while [[ "$1" = -(O*|C|m*) ]]; do
   case "$1" in
   -C) usecc=yes; shift ;;
   -O) subopts=( "${(@P)2}" ); shift 2 ;;
   -O*)  subopts=( "${(@P)1[3,-1]}" ); shift ;;
-  -M) ismulti=yes multi=(-I "$2" "$3"); shift 3 ;;
-  -M*) ismulti=yes multi=(-I "${1[3,-1]}" "$2"); shift 2 ;;
+  -m) ismulti=yes multi=(-I "$2" "$3"); shift 3 ;;
+  -m*) ismulti=yes multi=(-I "${1[3,-1]}" "$2"); shift 2 ;;
   esac
 done