about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Debian/Command/_bts4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 955783bda..d73b1cd04 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-06-19  Clint Adams  <clint@zsh.org>
 
+	* 23569: Completion/Debian/Command/_bts: make 'bts show'
+	behave the same as 'bts bugs'.
+
 	* 23568: Completion/Linux/Command/_iwconfig: complete iwconfig
 	modu.
 
diff --git a/Completion/Debian/Command/_bts b/Completion/Debian/Command/_bts
index 8a10bb29f..29195acd1 100644
--- a/Completion/Debian/Command/_bts
+++ b/Completion/Debian/Command/_bts
@@ -30,14 +30,14 @@ if [[ CURRENT -eq 1 ]]; then
 fi
 
 case "$words[1]" in
-  (show|close|unmerge|notforwarded|noowner|reportspam)
+  (close|unmerge|notforwarded|noowner|reportspam)
     if [[ CURRENT -eq 2 ]]; then
       _message -e bugnum 'bug number'
     else
       _wanted sep expl 'separator' compadd -S ' ' , .
     fi
   ;;
-  bugs)
+  (show|bugs)
     if [[ CURRENT -eq 2 ]]; then
       _wanted package expl 'package' _deb_packages avail
       _wanted maintainer expl 'package maintainer' compadd $DEBEMAIL