about summary refs log tree commit diff
path: root/Completion/Base
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Base')
-rw-r--r--Completion/Base/_complete_opts4
1 files changed, 3 insertions, 1 deletions
diff --git a/Completion/Base/_complete_opts b/Completion/Base/_complete_opts
index 689e13e22..c27a8869f 100644
--- a/Completion/Base/_complete_opts
+++ b/Completion/Base/_complete_opts
@@ -81,7 +81,9 @@ case "${#no_arg}-${#with_arg}" in
 esac
 
 if [[ -z "$done" ]]; then
-  compadd - -${(k)^option_pairs:gs/://}
+  if (( $+complete_opts_verbose )); then
+    compadd - -${(k)^option_pairs:gs/://}
+  fi
   false
 else
   true