From: Alexander Shopov Date: Mon, 20 Jun 2022 16:44:34 +0000 (+0200) Subject: name-rev: prefix annotate-stdin with '--' in message X-Git-Tag: v2.37.0-rc2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=325240dfd76bc6a47e5a89beccf27b236b70e2ac;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/builtin/name-rev.c b/builtin/name-rev.c index 02ea9d1633..580b1eb170 100644 --- a/builtin/name-rev.c +++ b/builtin/name-rev.c @@ -577,7 +577,7 @@ int cmd_name_rev(int argc, const char **argv, const char *prefix) N_("ignore refs matching ")), OPT_GROUP(""), OPT_BOOL(0, "all", &all, N_("list all commits reachable from all refs")), - OPT_BOOL(0, "stdin", &transform_stdin, N_("deprecated: use annotate-stdin instead")), + OPT_BOOL(0, "stdin", &transform_stdin, N_("deprecated: use --annotate-stdin instead")), OPT_BOOL(0, "annotate-stdin", &annotate_stdin, N_("annotate text from stdin")), OPT_BOOL(0, "undefined", &allow_undefined, N_("allow to print `undefined` names (default)")), OPT_BOOL(0, "always", &always,