From: Jonas Fonseca <fonseca@diku.dk>
To: git@vger.kernel.org
Subject: [PATCH] shortlog: remove --help option parsing
Date: Mon, 1 Oct 2007 12:20:21 +0200 [thread overview]
Message-ID: <20071001102020.GA8315@diku.dk> (raw)
This option is handled globally.
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
---
builtin-shortlog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin-shortlog.c b/builtin-shortlog.c
index 3fe7546..518f27f 100644
--- a/builtin-shortlog.c
+++ b/builtin-shortlog.c
@@ -264,7 +264,7 @@ int cmd_shortlog(int argc, const char **argv, const char *prefix)
wrap_lines = 1;
parse_wrap_args(argv[1], &in1, &in2, &wrap);
}
- else if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help"))
+ else if (!strcmp(argv[1], "-h"))
usage(shortlog_usage);
else
break;
--
1.5.3.2.1029.gc1d178
--
Jonas Fonseca
next reply other threads:[~2007-10-01 10:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-01 10:20 Jonas Fonseca [this message]
2007-10-01 11:42 ` [PATCH] shortlog: remove --help option parsing Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071001102020.GA8315@diku.dk \
--to=fonseca@diku.dk \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).