This series fixes various bugs & edge cases in the "git help" command, and improves and splits the internal-only "--completion-for-config" option into two, and as a result can get rid of an awk/sort -u pipeline in the bash completion. This is all rather straightforward and boring, the first patch mentions an interaction with my not-picked-up-by-Junio-yet series to fix parse_options usage alignment at [1], but while the two strictly speaking "semantically conflict" (in combination they'll produce different results), the exact whitespace padding of "git help -h" is a trivial enough issue that they can and should be considered indepedently. 1. https://lore.kernel.org/git/cover-0.2-00000000000-20210901T110917Z-avarab@xxxxxxxxx/ Ævar Arnfjörð Bjarmason (6): help: correct the usage string in -h and documentation help: correct usage string for "git help --guides" help tests: add test for --config output help: refactor "for_human" control flow in cmd_help() help: correct logic error in combining --all and --config help / completion: make "git help" do the hard work Documentation/git-help.txt | 9 ++- builtin/help.c | 102 +++++++++++++++++-------- contrib/completion/git-completion.bash | 21 +++-- t/t0012-help.sh | 45 +++++++++++ 4 files changed, 131 insertions(+), 46 deletions(-) -- 2.33.0.825.g2bf60429931