summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2009-06-02 18:13:05 +0000
committerClint Adams <clint@users.sourceforge.net>2009-06-02 18:13:05 +0000
commit35e80f207ee24aa00e5e47b894eb46d7f62541bf (patch)
tree14b8c70fe4f01b41fb1eb455bf7487960d64d1e4 /Completion/Unix/Command
parent7769912b3fa89fc5fe2a4172394de34aee29fca7 (diff)
downloadzsh-35e80f207ee24aa00e5e47b894eb46d7f62541bf.tar.gz
zsh-35e80f207ee24aa00e5e47b894eb46d7f62541bf.tar.xz
zsh-35e80f207ee24aa00e5e47b894eb46d7f62541bf.zip
Colin Watson: 27027: completion for bzr switch.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_bzr10
1 files changed, 10 insertions, 0 deletions
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]'