Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _bts claim/unclaim
- X-seq: zsh-workers 25808
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: _bts claim/unclaim
- Date: Sat, 4 Oct 2008 18:11:26 +0000
- Cc: micah@xxxxxxxxxx
- Mail-followup-to: zsh-workers@xxxxxxxxxx, micah@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Index: Completion/Debian/Command/_bts
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_bts,v
retrieving revision 1.9
diff -u -r1.9 _bts
--- Completion/Debian/Command/_bts 6 Jul 2007 15:37:06 -0000 1.9
+++ Completion/Debian/Command/_bts 4 Oct 2008 18:10:39 -0000
@@ -25,7 +25,7 @@
_wanted cmd expl 'bts command' compadd show bugs close reopen retitle \
reassign merge unmerge tag tags severity forwarded notforwarded help \
clone submitter found notfound block unblock user usertag usertags \
- package owner noowner reportspam cache cleancache
+ package owner noowner reportspam cache cleancache claim unclaim
return
fi
@@ -193,6 +193,17 @@
'email:email address:_email_addresses -c' \
'all:all:compadd ALL'
;;
+ (claim|unclaim)
+ if [[ CURRENT -eq 2 ]]; then
+ _message -e bugnum 'bug number'
+ elif [[ CURRENT -eq 3 ]]; then
+ _alternative \
+ 'email:email address:_email_addresses -c' \
+ 'separator:separator:compadd -S " " , .'
+ else
+ _wanted sep expl 'separator' compadd -S ' ' , .
+ fi
+ ;;
help)
;&
*) _wanted sep expl 'separator' compadd -S ' ' , .
Messages sorted by:
Reverse Date,
Date,
Thread,
Author