about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-05-22 17:17:52 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-05-22 17:17:52 +0000
commit7d19431901041fa8a5ed7154ce4d285c40beade9 (patch)
tree92bbc9b0a4baad3cce1ae84b19e395fcd9a6c53c
parent903ee41560acb802fd3bfb71ac3545645e3168ff (diff)
downloadzsh-7d19431901041fa8a5ed7154ce4d285c40beade9.tar.gz
zsh-7d19431901041fa8a5ed7154ce4d285c40beade9.tar.xz
zsh-7d19431901041fa8a5ed7154ce4d285c40beade9.zip
11515: Fix infinite loop.
-rw-r--r--ChangeLog2
-rw-r--r--Completion/Base/_arguments2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f4efc26c8..de40d3058 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2000-05-22  Bart Schaefer  <schaefer@zsh.org>
 
+	* 11515: Completion/Base/_arguments: Fix infinite loop.
+
 	* 11508: Doc/Zsh/index.yo: Add texipage() to printindex().
 
 	* 11485, 11488: Relocate "Compatibility" and "Restricted Shell" docs.
diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments
index 1fcf34a10..4b7aaa1a0 100644
--- a/Completion/Base/_arguments
+++ b/Completion/Base/_arguments
@@ -155,7 +155,7 @@ if (( long )); then
 fi
 
 subopts=()
-while [[ "$1" = -(O*|C|m*) ]]; do
+while [[ "$1" = -(O*|C) ]]; do
   case "$1" in
   -C) usecc=yes; shift ;;
   -O) subopts=( "${(@P)2}" ); shift 2 ;;