diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-05-26 16:55:28 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-29 08:51:28 +0300 |
commit | e17ca926371dc96967f556f41c18410eea8c7d32 (patch) | |
tree | f02e9bc9f6c9b7e6fe8f55a702e802e469abfaba /help.h | |
parent | 431bb23a271ef45e22ad4a2def2e0ba0a1954e98 (diff) |
completion: drop the hard coded list of config vars
The new help option --config-for-completion is a machine friendlier
version of --config where all the placeholders and wildcards are
dropped, leaving only the good, completable prefixes for
git-completion.bash to consume.
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
@@ -22,7 +22,7 @@ static inline void mput_char(char c, unsigned int num) extern void list_common_cmds_help(void); extern void list_all_cmds_help(void); extern void list_common_guides_help(void); -extern void list_config_help(void); +extern void list_config_help(int for_human); extern void list_all_main_cmds(struct string_list *list); extern void list_all_other_cmds(struct string_list *list); |