Skip to content

Commit 9f24152

Browse files
committed
Merge branch 'rs/name-rev-usage'
* rs/name-rev-usage: name-rev: split usage string
2 parents 1ff5a41 + 44c8e60 commit 9f24152

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

builtin/name-rev.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@ static void show_name(const struct object *obj,
172172
}
173173

174174
static char const * const name_rev_usage[] = {
175-
"git name-rev [options] ( --all | --stdin | <commit>... )",
175+
"git name-rev [options] <commit>...",
176+
"git name-rev [options] --all",
177+
"git name-rev [options] --stdin",
176178
NULL
177179
};
178180

0 commit comments

Comments
 (0)