summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Command/_bzr10
2 files changed, 16 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 305c236b5..a85417573 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-02 Clint Adams <clint@zsh.org>
+
+ * Colin Watson: 27027: Completion/Unix/Command/_bzr:
+ completion for bzr switch.
+
2009-06-02 Peter Stephenson <pws@csr.com>
* Akinori MUSHA: private communication:
@@ -11812,5 +11817,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4708 $
+* $Revision: 1.4709 $
*****************************************************
diff --git a/Completion/Unix/Command/_bzr b/Completion/Unix/Command/_bzr
index 70c9bcdf9..a757a1059 100644
--- a/Completion/Unix/Command/_bzr
+++ b/Completion/Unix/Command/_bzr
@@ -331,6 +331,16 @@ case $cmd in
)
;;
+(switch)
+ args+=(
+ '--force[Switch even if local commits will be lost]'
+ '(-q --quiet -v --verbose)'{--quiet,-q}'[be quiet]'
+ '(-v --verbose -q --quiet)'{--verbose,-v}'[display more information]'
+ '*:local repository:_files -/'
+ )
+ _bzr_completeParents
+ ;;
+
(help)
args=(
'(-l --long)'{--long,-l}'[use long format]'