Files
git/Documentation
René Scharfe e8e5d294dc parse-options: show negatability of options in short help
Add a "[no-]" prefix to options without the flag PARSE_OPT_NONEG to
document the fact that you can negate them.

This looks a bit strange for options that already start with "no-", e.g.
for the option --no-name of git show-branch:

    --[no-]no-name        suppress naming strings

You can actually use --no-no-name as an alias of --name, so the short
help is not wrong.  If we strip off any of the "no-"s, we lose either
the ability to see if the remaining one belongs to the documented
variant or to see if it can be negated.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2023-08-06 17:16:50 -07:00
..
2023-08-04 10:52:31 -07:00
2023-06-12 13:52:51 -07:00
2023-02-18 09:29:13 -08:00
2023-06-12 13:52:51 -07:00
2023-06-12 13:52:51 -07:00
2023-06-12 13:52:51 -07:00
2022-10-25 15:44:18 -07:00
2023-06-12 13:52:51 -07:00
2022-02-02 14:50:09 -08:00
2023-05-06 14:32:20 -07:00
2021-09-28 10:31:02 -07:00
2023-06-12 13:52:51 -07:00
2023-06-12 13:52:51 -07:00
2021-12-10 14:35:03 -08:00
2023-05-16 11:38:14 -07:00
2023-06-27 11:31:06 -07:00
2023-05-17 10:11:41 -07:00
2019-05-07 13:04:48 +09:00
2023-06-12 13:52:51 -07:00
2023-06-12 13:52:51 -07:00
2019-10-21 12:02:39 +09:00