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/_bzr12
1 files changed, 10 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_bzr b/Completion/Unix/Command/_bzr
index 0c4c1b5fb..9e7e19f15 100644
--- a/Completion/Unix/Command/_bzr
+++ b/Completion/Unix/Command/_bzr
@@ -69,7 +69,7 @@ case $cmd in
 
 (clone|branch|get)
     args+=(
-	'(-r --revision)'{--revision,-r}'[revision]:rev:'
+	'(-r --revision)'{--revision,-r}'[the revision to get]:rev:'
 	'--basis[specify basis branch]:basis:'
 	)
     if (( CURRENT == 2 )); then
@@ -79,6 +79,14 @@ case $cmd in
     fi
     ;;
 
+(checkout)
+    args+=(
+	'--lightweight[perform a lightweight checkout]'
+	'(-r --revision)'{--revision,-r}'[the revision to get]:rev:'
+	)
+    _bzr_completeParents
+    ;;
+
 (rename|mv)
     if (( CURRENT == 2 )); then
 	args+=( '*:old name:_bzr_versionedFiles' )
@@ -134,7 +142,7 @@ case $cmd in
 	)
     ;;
 
-(mkdir|renames)
+(mkdir|renames|update)
     args+=( '*:DIR:_files -/' )
     ;;