Skip to content

Commit 325240d

Browse files
alshopovgitster
authored andcommitted
name-rev: prefix annotate-stdin with '--' in message
This is an option rather than command. Make the message convey this similar to the other messages in the file. Signed-off-by: Alexander Shopov <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5b71c59 commit 325240d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/name-rev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ int cmd_name_rev(int argc, const char **argv, const char *prefix)
577577
N_("ignore refs matching <pattern>")),
578578
OPT_GROUP(""),
579579
OPT_BOOL(0, "all", &all, N_("list all commits reachable from all refs")),
580-
OPT_BOOL(0, "stdin", &transform_stdin, N_("deprecated: use annotate-stdin instead")),
580+
OPT_BOOL(0, "stdin", &transform_stdin, N_("deprecated: use --annotate-stdin instead")),
581581
OPT_BOOL(0, "annotate-stdin", &annotate_stdin, N_("annotate text from stdin")),
582582
OPT_BOOL(0, "undefined", &allow_undefined, N_("allow to print `undefined` names (default)")),
583583
OPT_BOOL(0, "always", &always,

0 commit comments

Comments
 (0)