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:59:04 +0200
commit09bb71398938ffdc4b46767de7bf8cc18ac3cda1 (patch)
tree887d0c7454ddc24a198e271695d9f9c4c8b307bb /share
parent6466ffe82da80d0234da68d3ab4cd9a9d3ac42b5 (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 84329312..a0390705 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'