summaryrefslogtreecommitdiff
path: root/help.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2022-03-09 13:38:24 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-09 13:38:24 -0800
commit1f3c5f39e0582b9538106a7da38a5af89e5785a4 (patch)
treec02429a0852b4d47b64027581f1adcecc51e5c35 /help.h
parentMerge branch 'ab/c99-variadic-macros' (diff)
parenthelp: don't print "\n" before single-section output (diff)
downloadtgif-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/help.h b/help.h
index 9d383f1a0b..971a3ad855 100644
--- a/help.h
+++ b/help.h
@@ -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);