Code

Merge branch 'rs/name-rev-usage'
authorJunio C Hamano <gitster@pobox.com>
Wed, 12 Oct 2011 19:34:08 +0000 (12:34 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Oct 2011 19:34:08 +0000 (12:34 -0700)
* rs/name-rev-usage:
  name-rev: split usage string

builtin/name-rev.c

index 31f5c1c971381a9490b717e0413ee9a40260ef39..7864056f1ee64b896a7378cc76555e2cf7c3fd89 100644 (file)
@@ -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 | <commit>... )",
+       "git name-rev [options] <commit>...",
+       "git name-rev [options] --all",
+       "git name-rev [options] --stdin",
        NULL
 };