diff options
author | wm4 <wm4@nowhere> | 2016-09-10 16:29:24 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-10 16:29:24 +0200 |
commit | 484328fe04be40807bfcf170383528feeb03451d (patch) | |
tree | 85331885b9c99092ef1b745759aef447ef8a195d /options/m_config.h | |
parent | ebc04333d2fbcf01cad05c9aa43e8f95c810f92b (diff) | |
download | mpv-484328fe04be40807bfcf170383528feeb03451d.tar.bz2 mpv-484328fe04be40807bfcf170383528feeb03451d.tar.xz |
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().
Diffstat (limited to 'options/m_config.h')
-rw-r--r-- | options/m_config.h | 5 |
1 files changed, 1 insertions, 4 deletions
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. |