Phillip Wood <phillip.wood123@xxxxxxxxx> writes: >> @@ -539,6 +539,7 @@ int cmd_name_rev(int argc, const char **argv, const char *prefix) >> OPT_GROUP(""), >> OPT_BOOL(0, "all", &all, N_("list all commits reachable from all refs")), >> OPT_BOOL(0, "stdin", &transform_stdin, N_("read from stdin")), > > If the intention is to deprecate this option then it might be worth > marking it as PARSE_OPT_HIDDEN so that it is not shown by 'git > name-rev -h'. (You need to change OPT_BOOL to OPT_BOOL_F to pass the > flag) Whether we want to do HIDDEN now or not, it is probably a good idea to update the help text to N_("deprecated synonym to --annotate-stdin") or something like that.