]> git.ipfire.org Git - thirdparty/git.git/commitdiff
name-rev: replace --stdin with --annotate-stdin in synopsis
authorJohn Cai <johncai86@gmail.com>
Tue, 15 Feb 2022 20:52:07 +0000 (20:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Feb 2022 01:37:43 +0000 (17:37 -0800)
34ae3b70 (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 <johncai86@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/name-rev.c

index 138e3c30a2b997adaf96b1a80d3cee741b8de982..929591269ddf7f6a2ff4c7542bf409ac2bcf751d 100644 (file)
@@ -473,7 +473,7 @@ static void show_name(const struct object *obj,
 static char const * const name_rev_usage[] = {
        N_("git name-rev [<options>] <commit>..."),
        N_("git name-rev [<options>] --all"),
-       N_("git name-rev [<options>] --stdin"),
+       N_("git name-rev [<options>] --annotate-stdin"),
        NULL
 };