# [PATCH] pull: do not display fetch usage on --help-all

2 messages from 2011-02-14 to 2011-02-14. Participants: Michael J Gruber, Junio C Hamano.
Thread: https://gitlist.dev/t/26499

## Michael J Gruber, 2011-02-14 16:48

Subject: [PATCH] pull: do not display fetch usage on --help-all
Message-ID: <c98bbd60ccdbe059811280e09951100611487ccf.1297702066.git.git@drmicha.warpmail.net>
URL: https://gitlist.dev/e/c98bbd60ccdbe059811280e09951100611487ccf.1297702066.git.git%40drmicha.warpmail.net

```
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>
---
 git-pull.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-pull.sh b/git-pull.sh
index eb87f49..f6b7b84 100755
--- a/git-pull.sh
+++ b/git-pull.sh
@@ -114,7 +114,7 @@ do
 	--d|--dr|--dry|--dry-|--dry-r|--dry-ru|--dry-run)
 		dry_run=--dry-run
 		;;
-	-h|--h|--he|--hel|--help)
+	-h|--h|--he|--hel|--help|--help-|--help-a|--help-al|--help-all)
 		usage
 		;;
 	*)
-- 
1.7.4.1.74.gf39475.dirty

```

## Junio C Hamano, 2011-02-14 23:10

Subject: Re: [PATCH] pull: do not display fetch usage on --help-all
Message-ID: <7vr5baqkkp.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vr5baqkkp.fsf%40alter.siamese.dyndns.org
In-Reply-To: <c98bbd60ccdbe059811280e09951100611487ccf.1297702066.git.git@drmicha.warpmail.net>

```
Thanks, will apply.

```
