This fixes the issues reported at http://lore.kernel.org/git/20210924141920.ezfpyf4uutob2h5z@xxxxxxxxxxxxxxxxx, thanks to Ignacy Gawedzki for the report! Ævar Arnfjörð Bjarmason (3): show-ref: remove unused custom handling of -h ls-remote: remove documentation for custom -h option grep: pass PARSE_OPT_NO_INTERNAL_HELP, fix odd -h handling Documentation/git-ls-remote.txt | 1 - builtin/grep.c | 3 ++- builtin/ls-remote.c | 2 +- builtin/show-ref.c | 2 -- t/t0012-help.sh | 4 +++- t/t7810-grep.sh | 4 ++++ 6 files changed, 10 insertions(+), 6 deletions(-) -- 2.33.0.1285.g7aff81f6560