aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
diff options
context:
space:
mode:
authorGravatar Sanne Wouda <sanne.wouda@gmail.com>2016-04-29 11:42:15 +0100
committerGravatar Fabian Homborg <FHomborg@gmail.com>2016-04-29 12:42:15 +0200
commit8fc60117419a3f7e98057e7ef1e1f7a2e290f0a8 (patch)
tree8cdc383169275802048ff704f6ea06de994c733d /share
parent5092904ea3a95c6ba78350c3b3761511f613fde8 (diff)
git takes --help even when it needs a command (#2984)
`git --help` is a valid command and fish should complete it as such
Diffstat (limited to 'share')
-rw-r--r--share/completions/git.fish2
1 files changed, 1 insertions, 1 deletions
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'