From 8fc60117419a3f7e98057e7ef1e1f7a2e290f0a8 Mon Sep 17 00:00:00 2001 From: Sanne Wouda Date: Fri, 29 Apr 2016 11:42:15 +0100 Subject: git takes --help even when it needs a command (#2984) `git --help` is a valid command and fish should complete it as such --- share/completions/git.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/completions/git.fish b/share/completions/git.fish index af9dc685..becc984c 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -172,7 +172,7 @@ function __fish_git_custom_commands end # general options -complete -f -c git -n 'not __fish_git_needs_command' -l help -d 'Display the manual of a git command' +complete -f -c git -l help -d 'Display the manual of a git command' #### fetch complete -f -c git -n '__fish_git_needs_command' -a fetch -d 'Download objects and refs from another repository' -- cgit v1.2.3