* [PATCH] pull: do not display fetch usage on --help-all
@ 2011-02-14 16:48 Michael J Gruber
2011-02-14 23:10 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Michael J Gruber @ 2011-02-14 16:48 UTC (permalink / raw)
To: git; +Cc: Junio C Hamano
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] pull: do not display fetch usage on --help-all
2011-02-14 16:48 [PATCH] pull: do not display fetch usage on --help-all Michael J Gruber
@ 2011-02-14 23:10 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2011-02-14 23:10 UTC (permalink / raw)
To: Michael J Gruber; +Cc: git
Thanks, will apply.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-14 23:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-14 16:48 [PATCH] pull: do not display fetch usage on --help-all Michael J Gruber
2011-02-14 23:10 ` Junio C Hamano
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).