From d89fcdcc5fe13e332ed6cb58998c052597c3f684 Mon Sep 17 00:00:00 2001 From: ormris debian Date: Mon, 25 Feb 2013 08:18:03 -0800 Subject: [PATCH] Add proper desriptions to "git submodule" --- share/completions/git.fish | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/share/completions/git.fish b/share/completions/git.fish index 3d8fb517f..433372731 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -247,7 +247,13 @@ complete -f -c git -n '__fish_git_using_command format-patch' -a '(__fish_git_br ## git submodule complete -f -c git -n '__fish_git_needs_command' -a submodule -d 'Initialize, update or inspect submodules' -complete -f -c git -n '__fish_git_using_command submodule' -a 'add status init update summary foreach sync' -d 'Make a GPG-signed tag' +complete -f -c git -n '__fish_git_using_command submodule' -a 'add' -d 'Add a submodule' +complete -f -c git -n '__fish_git_using_command submodule' -a 'status' -d 'Show submodule status' +complete -f -c git -n '__fish_git_using_command submodule' -a 'init' -d 'Initialize all submodules' +complete -f -c git -n '__fish_git_using_command submodule' -a 'update' -d 'Update all submodules' +complete -f -c git -n '__fish_git_using_command submodule' -a 'summary' -d 'Show commit summary' +complete -f -c git -n '__fish_git_using_command submodule' -a 'foreach' -d 'Run command on each submodule' +complete -f -c git -n '__fish_git_using_command submodule' -a 'sync' -d 'Sync submodules\' URL with .gitmodules' ## git whatchanged complete -f -c git -n '__fish_git_needs_command' -a whatchanged -d 'Show logs with difference each commit introduces'