summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7ed863a)
raw | patch | inline | side by side (parent: 7ed863a)
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Sat, 1 Oct 2011 17:04:44 +0000 (19:04 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 3 Oct 2011 18:55:57 +0000 (11:55 -0700) |
Give each mode of operation (all, from stdin, given commits) its own usage
line to make it easier to see that they are mutually exclusive.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
line to make it easier to see that they are mutually exclusive.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/name-rev.c | patch | blob | history |
diff --git a/builtin/name-rev.c b/builtin/name-rev.c
index 31f5c1c971381a9490b717e0413ee9a40260ef39..7864056f1ee64b896a7378cc76555e2cf7c3fd89 100644 (file)
--- a/builtin/name-rev.c
+++ b/builtin/name-rev.c
}
static char const * const name_rev_usage[] = {
- "git name-rev [options] ( --all | --stdin | <commit>... )",
+ "git name-rev [options] <commit>...",
+ "git name-rev [options] --all",
+ "git name-rev [options] --stdin",
NULL
};