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_option.c | |
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_option.c')
-rw-r--r-- | options/m_option.c | 2 |
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)); |