aboutsummaryrefslogtreecommitdiff
path: root/help.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-04-13 17:54:37 +0700
committerJunio C Hamano <gitster@pobox.com>2012-04-27 09:26:38 -0700
commitdbfae689690bead0e49130b149c869834795cf81 (patch)
tree37b6a96c95d601425b761ac51cdf7157592be31e /help.h
parent3f8eccbe166ecff79a986b7ce87df4963cc873b2 (diff)
downloadgit-dbfae689690bead0e49130b149c869834795cf81.tar.gz
git-dbfae689690bead0e49130b149c869834795cf81.tar.xz
help: reuse print_columns() for help -a
"help -a" also respects column.ui (and column.help if presents) Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 b6b12d575..854d2d43d 100644
--- a/help.h
+++ b/help.h
@@ -25,7 +25,7 @@ extern void add_cmdname(struct cmdnames *cmds, const char *name, int len);
/* Here we require that excludes is a sorted list. */
extern void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes);
extern int is_in_cmdlist(struct cmdnames *cmds, const char *name);
-extern void list_commands(const char *title,
+extern void list_commands(const char *title, unsigned int colopts,
struct cmdnames *main_cmds,
struct cmdnames *other_cmds);