{"thread":{"id":"58040","subject":"[PATCH] name-rev: prefix annotate-stdin with '--' in message","startedAt":"2022-06-20T16:45:45Z","lastAt":"2022-06-20T16:45:45Z","messageCount":1,"participants":["Alexander Shopov"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"457563","messageId":"20220620164434.49618-1-ash@kambanaria.org","threadId":"58040","inReplyTo":null,"subject":"[PATCH] name-rev: prefix annotate-stdin with '--' in message","fromName":"Alexander Shopov","fromEmail":"ash@kambanaria.org","sentAt":"2022-06-20T16:44:34Z","receivedAt":"2022-06-20T16:45:45Z","isPatch":true,"sender":{"key":"ash@kambanaria.org","avatar":"https://avatars.githubusercontent.com/u/449359?v=4"},"body":"This is an option rather than command.  Make the message convey this\nsimilar to the other messages in the file.\n\nSigned-off-by: Alexander Shopov <ash@kambanaria.org>\n---\n\nAdd missing '--' prefix to option name in help message\nBased on discussion: https://github.com/git-l10n/git-po/pull/637\n\n builtin/name-rev.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/builtin/name-rev.c b/builtin/name-rev.c\nindex 02ea9d1633..580b1eb170 100644\n--- a/builtin/name-rev.c\n+++ b/builtin/name-rev.c\n@@ -577,7 +577,7 @@ int cmd_name_rev(int argc, const char **argv, const char *prefix)\n \t\t\t\t   N_(\"ignore refs matching <pattern>\")),\n \t\tOPT_GROUP(\"\"),\n \t\tOPT_BOOL(0, \"all\", &all, N_(\"list all commits reachable from all refs\")),\n-\t\tOPT_BOOL(0, \"stdin\", &transform_stdin, N_(\"deprecated: use annotate-stdin instead\")),\n+\t\tOPT_BOOL(0, \"stdin\", &transform_stdin, N_(\"deprecated: use --annotate-stdin instead\")),\n \t\tOPT_BOOL(0, \"annotate-stdin\", &annotate_stdin, N_(\"annotate text from stdin\")),\n \t\tOPT_BOOL(0, \"undefined\", &allow_undefined, N_(\"allow to print `undefined` names (default)\")),\n \t\tOPT_BOOL(0, \"always\",     &always,\n--\n2.36.1\n\n"}]}