summaryrefslogtreecommitdiffstats
path: root/options/m_option.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-10 16:29:24 +0200
committerwm4 <wm4@nowhere>2016-09-10 16:29:24 +0200
commit484328fe04be40807bfcf170383528feeb03451d (patch)
tree85331885b9c99092ef1b745759aef447ef8a195d /options/m_option.c
parentebc04333d2fbcf01cad05c9aa43e8f95c810f92b (diff)
downloadmpv-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_option.c')
-rw-r--r--options/m_option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/m_option.c b/options/m_option.c
index 3cd9a1fb8c..cdc6b41e34 100644
--- a/options/m_option.c
+++ b/options/m_option.c
@@ -2771,7 +2771,7 @@ print_help: ;
if (config) {
if (desc->print_help)
desc->print_help(log);
- m_config_print_option_list(config);
+ m_config_print_option_list(config, "");
} else {
mp_warn(log, "Option %.*s: item %.*s doesn't exist.\n",
BSTR_P(opt_name), BSTR_P(name));