diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-03-09 13:38:24 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-09 13:38:24 -0800 |
commit | 1f3c5f39e0582b9538106a7da38a5af89e5785a4 (patch) | |
tree | c02429a0852b4d47b64027581f1adcecc51e5c35 /help.h | |
parent | Merge branch 'ab/c99-variadic-macros' (diff) | |
parent | help: don't print "\n" before single-section output (diff) | |
download | tgif-1f3c5f39e0582b9538106a7da38a5af89e5785a4.tar.xz |
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]"
Diffstat (limited to 'help.h')
-rw-r--r-- | help.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ static inline void mput_char(char c, unsigned int num) } void list_common_cmds_help(void); -void list_all_cmds_help(void); +void list_all_cmds_help(int show_external_commands, int show_aliases); void list_guides_help(void); void list_all_main_cmds(struct string_list *list); |