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 <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Michael J Gruber committed
Feb 14, 2011 at 17:48 UTC
24231e063f0f003f8ffd7b64c7ba6a0baaaa5283
1 file changed
+1
-1
git-pull.sh
+1
-1
@@ -114,7 +114,7 @@ do
114
--d|--dr|--dry|--dry-|--dry-r|--dry-ru|--dry-run)
115
dry_run=--dry-run
116
;;
117
- -h|--h|--he|--hel|--help)
117
+ -h|--h|--he|--hel|--help|--help-|--help-a|--help-al|--help-all)
118
usage
119
;;
120
*)