Skip to content

Commit d271892

Browse files
john-caigitster
authored andcommitted
name-rev: replace --stdin with --annotate-stdin in synopsis
34ae3b7 (name-rev: deprecate --stdin in favor of --annotate-stdin, 2022-01-05) added --annotate-stdin to replace --stdin as a clearer flag name. Since --stdin is to be deprecated, we should replace --stdin in the output from "git name-rev -h". Signed-off-by: John Cai <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a258571 commit d271892

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
@@ -473,7 +473,7 @@ static void show_name(const struct object *obj,
473473
static char const * const name_rev_usage[] = {
474474
N_("git name-rev [<options>] <commit>..."),
475475
N_("git name-rev [<options>] --all"),
476-
N_("git name-rev [<options>] --stdin"),
476+
N_("git name-rev [<options>] --annotate-stdin"),
477477
NULL
478478
};
479479

0 commit comments

Comments
 (0)