{"thread":{"id":"10099","subject":"[PATCH] shortlog: remove --help option parsing","startedAt":"2007-10-01T10:20:21Z","lastAt":"2007-10-01T11:42:56Z","messageCount":2,"participants":["Jonas Fonseca","Johannes Schindelin"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"54464","messageId":"20071001102020.GA8315@diku.dk","threadId":"10099","inReplyTo":null,"subject":"[PATCH] shortlog: remove --help option parsing","fromName":"Jonas Fonseca","fromEmail":"fonseca@diku.dk","sentAt":"2007-10-01T10:20:21Z","receivedAt":"2007-10-01T10:20:21Z","isPatch":true,"sender":{"key":"fonseca@diku.dk","avatar":"https://gravatar.com/avatar/f82f3ad698717c51873b020c750a92438c820a24056dc39fe4d07baa10a92264?d=mp&s=160"},"body":"This option is handled globally.\n\nSigned-off-by: Jonas Fonseca <fonseca@diku.dk>\n---\n builtin-shortlog.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/builtin-shortlog.c b/builtin-shortlog.c\nindex 3fe7546..518f27f 100644\n--- a/builtin-shortlog.c\n+++ b/builtin-shortlog.c\n@@ -264,7 +264,7 @@ int cmd_shortlog(int argc, const char **argv, const char *prefix)\n \t\t\twrap_lines = 1;\n \t\t\tparse_wrap_args(argv[1], &in1, &in2, &wrap);\n \t\t}\n-\t\telse if (!strcmp(argv[1], \"-h\") || !strcmp(argv[1], \"--help\"))\n+\t\telse if (!strcmp(argv[1], \"-h\"))\n \t\t\tusage(shortlog_usage);\n \t\telse\n \t\t\tbreak;\n-- \n1.5.3.2.1029.gc1d178\n\n\n-- \nJonas Fonseca\n"},{"id":"54473","messageId":"Pine.LNX.4.64.0710011241430.28395@racer.site","threadId":"10099","inReplyTo":"20071001102020.GA8315@diku.dk","subject":"Re: [PATCH] shortlog: remove --help option parsing","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2007-10-01T11:42:56Z","receivedAt":"2007-10-01T11:42:56Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Mon, 1 Oct 2007, Jonas Fonseca wrote:\n\n> -\t\telse if (!strcmp(argv[1], \"-h\") || !strcmp(argv[1], \"--help\"))\n> +\t\telse if (!strcmp(argv[1], \"-h\"))\n\nI see that this is my fault.\n\nThanks,\nDscho\n"}]}