Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] bzr completion: 'shelve' command



Hi,

here's a patch adding completion support for the 'shelve' subcommand of bzr.

Cheers!
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: signature.asc
Description: OpenPGP digital signature



Messages sorted by: Reverse Date, Date, Thread, Author