mirror of
https://github.com/zsh-users/zsh
synced 2024-09-15 22:20:22 +00:00
23569: make 'bts show' behave the same as 'bts bugs'.
This commit is contained in:
parent
b01d1e56a2
commit
848775fe6d
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue