about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-06-19 13:03:47 +0000
committerClint Adams <clint@users.sourceforge.net>2007-06-19 13:03:47 +0000
commit848775fe6db52f57a553c5ff201d6dbeef6ad828 (patch)
treeb4352f50765a4e62b558453e16d57b0372fa0840
parentb01d1e56a200fe1db70b08588893c26d0d662a0d (diff)
downloadzsh-848775fe6db52f57a553c5ff201d6dbeef6ad828.tar.gz
zsh-848775fe6db52f57a553c5ff201d6dbeef6ad828.tar.xz
zsh-848775fe6db52f57a553c5ff201d6dbeef6ad828.zip
23569: make 'bts show' behave the same as 'bts bugs'.
-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