summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ;;