Merge branch 'ab/help-fixes'
commit1f3c5f39e0582b9538106a7da38a5af89e5785a4
authorJunio C Hamano <gitster@pobox.com>
Wed, 9 Mar 2022 21:38:24 +0000 (9 13:38 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Mar 2022 21:38:24 +0000 (9 13:38 -0800)
treec02429a0852b4d47b64027581f1adcecc51e5c35
parent69a3b75fa638f51fc11c6f34b67531032974f7d8
parent93de1b6999898079f521afd73d6a4ae9d5f9aaea
Merge branch 'ab/help-fixes'

Updates to how command line options to "git help" are handled.

* ab/help-fixes:
  help: don't print "\n" before single-section output
  help: add --no-[external-commands|aliases] for use with --all
  help: error if [-a|-g|-c] and [-i|-m|-w] are combined
  help: correct usage & behavior of "git help --all"
  help: note the option name on option incompatibility
  help.c: split up list_all_cmds_help() function
  help tests: test "git" and "git help [-a|-g] spacing
  help.c: use puts() instead of printf{,_ln}() for consistency
  help doc: add missing "]" to "[-a|--all]"
builtin/help.c