about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-05-04 16:19:06 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-05-04 16:19:06 +0000
commit672f5c459e9617aa94e93af552b436e08a4a0184 (patch)
treed92e48c3e0a93cef225f117fe6cf4cabd1f7c688
parente7895ac92c8398b1c554e218c373316356ccbd19 (diff)
downloadzsh-672f5c459e9617aa94e93af552b436e08a4a0184.tar.gz
zsh-672f5c459e9617aa94e93af552b436e08a4a0184.tar.xz
zsh-672f5c459e9617aa94e93af552b436e08a4a0184.zip
11157: Completion/Core/_requested: fail if _all_labels is failed.
-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