about summary refs log tree commit diff
path: root/Completion/Unix/Command/_bzr
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_bzr')
-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]'