about summary refs log tree commit diff
path: root/Completion/Base
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-17 00:59:28 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-17 00:59:28 +0000
commit98adecf52375e8d0fdb3e759a7ca3d0523e4db7a (patch)
tree5217d37158fa160731d682c6fa5d5c3184bd5dcc /Completion/Base
parentc5a01da6e106109ff731e986d0bf9339dc0e5858 (diff)
downloadzsh-98adecf52375e8d0fdb3e759a7ca3d0523e4db7a.tar.gz
zsh-98adecf52375e8d0fdb3e759a7ca3d0523e4db7a.tar.xz
zsh-98adecf52375e8d0fdb3e759a7ca3d0523e4db7a.zip
zsh-workers/7886
Diffstat (limited to 'Completion/Base')
-rw-r--r--Completion/Base/_describe2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Base/_describe b/Completion/Base/_describe
index e01c77509..1b3f5f1ef 100644
--- a/Completion/Base/_describe
+++ b/Completion/Base/_describe
@@ -58,7 +58,7 @@ while (( $# )); do
   (( nsets++ ))
   descr="$1"
   [[ -n "$showd" ]] && adescr=( "$adescr[@]" "${(@PM)^descr:#*:?*},$nsets" )
-  if [[ "$2" = -* ]]; then
+  if [[ $# = 1 || "$2" = -* ]]; then
     match=''
     shift
   else