[PATCH v2] name-rev: make --stdin hidden
- From
Teng Long <dyroneteng@gmail.com>
- Date
- May 6, 2023, 12:37 UTC
- Message-ID
- <20230506123721.67555-1-tenglong.tl@alibaba-inc.com>
- In-Reply-To
- <pull.1225.v2.git.git.1683314270964.gitgitgadget@gmail.com>
John Cai <johncai86@gmail.com> writes:
Show 9 quoted lines
>- OPT_BOOL(0, "stdin", &transform_stdin, N_("deprecated: use --annotate-stdin instead")),
>+ OPT_BOOL_F(0,
>+ "stdin",
>+ &transform_stdin,
>+ N_("deprecated: use --annotate-stdin instead"),
>+ PARSE_OPT_HIDDEN),
> 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,It seems like there is an odd indent before "&always", of course, it's not introduced by this patch.
Thanks.