23569: make 'bts show' behave the same as 'bts bugs'.

This commit is contained in:
Clint Adams 2007-06-19 13:03:47 +00:00
parent b01d1e56a2
commit 848775fe6d
2 changed files with 5 additions and 2 deletions

View file

@ -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.

View file

@ -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