summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Core/_requested2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4d56575b0..fb3504581 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-04  Tanaka Akira  <akr@zsh.org>
+
+	* 11157: Completion/Core/_requested: fail if _all_labels is failed.
+
 2000-05-04  Peter Stephenson  <pws@cambridgesiliconradio.com>
 
 	* 11147: Test/08traps.ztst: test for trap bugs fixed in
diff --git a/Completion/Core/_requested b/Completion/Core/_requested
index 01dee8f11..2772b1bd7 100644
--- a/Completion/Core/_requested
+++ b/Completion/Core/_requested
@@ -9,7 +9,7 @@ fi
 
 if comptags -R "$1"; then
   if [[ $# -gt 3 ]]; then
-    _all_labels - "$gopt" "$@"
+    _all_labels - "$gopt" "$@" || return 1
   elif [[ $# -gt 1 ]]; then
     _description "$gopt" "$@"
   fi