* [PATCH] bzr completion: 'shelve' command
@ 2014-11-20 20:38 Sebastien Alaiwan
0 siblings, 0 replies; only message in thread
From: Sebastien Alaiwan @ 2014-11-20 20:38 UTC (permalink / raw)
To: zsh-workers
[-- Attachment #1.1: Type: text/plain, Size: 96 bytes --]
Hi,
here's a patch adding completion support for the 'shelve' subcommand of bzr.
Cheers!
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: zsh_completion_bzr_shelve.patch --]
[-- Type: text/x-patch; name="zsh_completion_bzr_shelve.patch", Size: 654 bytes --]
diff --git a/Completion/Unix/Command/_bzr b/Completion/Unix/Command/_bzr
index 4a4e5ab..28ebd14 100644
--- a/Completion/Unix/Command/_bzr
+++ b/Completion/Unix/Command/_bzr
@@ -222,6 +222,17 @@ case $cmd in
)
;;
+(shelve)
+ args+=(
+ '--destroy[Destroy removed changes instead of shelving them]'
+ '(-m --message)'{--message=,-m}'[shelve message]:message text:'
+ '--all[shelve all changes]'
+ '(-q --quiet)'{--quiet,-q}'[be quiet]'
+ '(-v --verbose)'{--verbose,-v}'[display more information]'
+ '*:modified files:_bzr_modifiedFiles'
+ )
+ ;;
+
(bind|break-lock|reconcile)
_bzr_completeParents && ret=0
;;
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-11-20 20:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-20 20:38 [PATCH] bzr completion: 'shelve' command Sebastien Alaiwan
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).