]> git.ipfire.org Git - thirdparty/git.git/blobdiff - help.h
git: support --list-cmds=list-<category>
[thirdparty/git.git] / help.h
diff --git a/help.h b/help.h
index 97e6c0965e751c7f6834c7dc2676be88ff9bb37b..734bba32d3f17a87af43da0a7e0434c381b032bd 100644 (file)
--- a/help.h
+++ b/help.h
@@ -21,6 +21,8 @@ static inline void mput_char(char c, unsigned int num)
 extern void list_common_cmds_help(void);
 extern void list_all_main_cmds(struct string_list *list);
 extern void list_all_other_cmds(struct string_list *list);
+extern void list_cmds_by_category(struct string_list *list,
+                                 const char *category);
 extern const char *help_unknown_cmd(const char *cmd);
 extern void load_command_list(const char *prefix,
                              struct cmdnames *main_cmds,