From: John Cai Date: Tue, 15 Feb 2022 20:52:07 +0000 (+0000) Subject: name-rev: replace --stdin with --annotate-stdin in synopsis X-Git-Tag: v2.36.0-rc0~109^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d271892fbc099d5afd98f48845e258ded28e7c89;p=thirdparty%2Fgit.git name-rev: replace --stdin with --annotate-stdin in synopsis 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 Signed-off-by: Junio C Hamano --- diff --git a/builtin/name-rev.c b/builtin/name-rev.c index 138e3c30a2..929591269d 100644 --- a/builtin/name-rev.c +++ b/builtin/name-rev.c @@ -473,7 +473,7 @@ static void show_name(const struct object *obj, static char const * const name_rev_usage[] = { N_("git name-rev [] ..."), N_("git name-rev [] --all"), - N_("git name-rev [] --stdin"), + N_("git name-rev [] --annotate-stdin"), NULL };