{"thread":{"id":"28546","subject":"[PATCH] name-rev: split usage string","startedAt":"2011-10-01T17:04:44Z","lastAt":"2011-10-01T17:04:44Z","messageCount":1,"participants":["René Scharfe"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"176649","messageId":"4E87482C.30001@lsrfire.ath.cx","threadId":"28546","inReplyTo":null,"subject":"[PATCH] name-rev: split usage string","fromName":"René Scharfe","fromEmail":"rene.scharfe@lsrfire.ath.cx","sentAt":"2011-10-01T17:04:44Z","receivedAt":"2011-10-01T17:04:44Z","isPatch":true,"sender":{"key":"l.s.r@web.de","avatar":"https://avatars.githubusercontent.com/u/26122331?v=4"},"body":"Give each mode of operation (all, from stdin, given commits) its own usage\nline to make it easier to see that they are mutually exclusive.\n\nSigned-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>\n---\n builtin/name-rev.c |    4 +++-\n 1 files changed, 3 insertions(+), 1 deletions(-)\n\ndiff --git a/builtin/name-rev.c b/builtin/name-rev.c\nindex 31f5c1c..7864056 100644\n--- a/builtin/name-rev.c\n+++ b/builtin/name-rev.c\n@@ -172,7 +172,9 @@ static void show_name(const struct object *obj,\n }\n \n static char const * const name_rev_usage[] = {\n-\t\"git name-rev [options] ( --all | --stdin | <commit>... )\",\n+\t\"git name-rev [options] <commit>...\",\n+\t\"git name-rev [options] --all\",\n+\t\"git name-rev [options] --stdin\",\n \tNULL\n };\n \n-- \n1.7.7\n"}]}