Skip to content

Commit 24231e0

Browse files
Michael J Grubergitster
authored andcommitted
pull: do not display fetch usage on --help-all
Currently, "git pull --help-all" displays the fetch usage info. Make it equivalent to "git pull -h" instead since "--help-all" is documented in gitcli(7). Do not try to sanitize the pull option parser (aka last hair puller). Signed-off-by: Michael J Gruber <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent cfb5e6b commit 24231e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-pull.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ do
114114
--d|--dr|--dry|--dry-|--dry-r|--dry-ru|--dry-run)
115115
dry_run=--dry-run
116116
;;
117-
-h|--h|--he|--hel|--help)
117+
-h|--h|--he|--hel|--help|--help-|--help-a|--help-al|--help-all)
118118
usage
119119
;;
120120
*)

0 commit comments

Comments
 (0)