From 484328fe04be40807bfcf170383528feeb03451d Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 10 Sep 2016 16:29:24 +0200 Subject: options: make --h list options according to a pattern passed to it Useless feature, but I want it. Won't work on Windows due to missing fnmatch(). --- options/m_config.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'options/m_config.h') diff --git a/options/m_config.h b/options/m_config.h index 902f0bd981..e7c095623b 100644 --- a/options/m_config.h +++ b/options/m_config.h @@ -212,10 +212,7 @@ bool m_config_is_in_group(struct m_config *config, // Return all (visible) option names as NULL terminated string list. char **m_config_list_options(void *ta_parent, const struct m_config *config); -/* Print a list of all registered options. - * \param config The config object. - */ -void m_config_print_option_list(const struct m_config *config); +void m_config_print_option_list(const struct m_config *config, const char *name); /* Find the profile with the given name. -- cgit v1.2.3