From: René Scharfe Date: Sat, 1 Oct 2011 17:04:44 +0000 (+0200) Subject: name-rev: split usage string X-Git-Tag: v1.7.8-rc0~97^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=44c8e6049f75b6d9427f91ba09b6104471e84300;p=git.git name-rev: split usage string 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 Signed-off-by: Junio C Hamano --- diff --git a/builtin/name-rev.c b/builtin/name-rev.c index 31f5c1c97..7864056f1 100644 --- a/builtin/name-rev.c +++ b/builtin/name-rev.c @@ -172,7 +172,9 @@ static void show_name(const struct object *obj, } static char const * const name_rev_usage[] = { - "git name-rev [options] ( --all | --stdin | ... )", + "git name-rev [options] ...", + "git name-rev [options] --all", + "git name-rev [options] --stdin", NULL };