From 618a4b42ad1ebb06712a6065daccfd49269e0863 Mon Sep 17 00:00:00 2001 From: Mike Meyer Date: Mon, 3 Aug 2015 17:16:44 -0500 Subject: [PATCH] Fix type, add tag completion to checkout. --- share/completions/fossil.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/completions/fossil.fish b/share/completions/fossil.fish index 37c836acc..b87a16b08 100644 --- a/share/completions/fossil.fish +++ b/share/completions/fossil.fish @@ -413,9 +413,10 @@ complete -c fossil -n '__fish_fossil_command undo' -s n -l dry-run -d 'Display a # checkout complete -c fossil -n __fish_fossil_needs_command -a checkout -d 'Checkout version' +complete -c fossil -n '__fish_fossil_command checkout' -f -a '(fossil tag list)' -d 'Version to check out' complete -c fossil -n '__fish_fossil_command checkout' -l force -d 'Ignore edited files' complete -c fossil -n '__fish_fossil_command checkout' -l force-missing -d 'Ignore missing content' -complete -c fossil -n '__fish_fossil_command checkout' -l keep -d 'Only updated the manifest' +complete -c fossil -n '__fish_fossil_command checkout' -l keep -d 'Only update the manifest' complete -c fossil -n '__fish_fossil_command checkout' -l latest -d 'Update to latest version'