diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-04-13 17:54:37 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-27 09:26:38 -0700 |
commit | dbfae689690bead0e49130b149c869834795cf81 (patch) | |
tree | 37b6a96c95d601425b761ac51cdf7157592be31e /help.h | |
parent | 3f8eccbe166ecff79a986b7ce87df4963cc873b2 (diff) | |
download | git-dbfae689690bead0e49130b149c869834795cf81.tar.gz |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |