diff options
author | wm4 <wm4@nowhere> | 2013-07-21 20:16:46 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-21 23:27:31 +0200 |
commit | 560738ddef94ae3df325154e7932f5fb6e97915e (patch) | |
tree | bf85ab98dc360c569dbc08c5f1db506bc94f681d /core/m_option.c | |
parent | 6629a95b928499a46c9686f0800b65aec7fcbb22 (diff) | |
download | mpv-560738ddef94ae3df325154e7932f5fb6e97915e.tar.bz2 mpv-560738ddef94ae3df325154e7932f5fb6e97915e.tar.xz |
m_config: improve option list output a bit
This is printed with --list-options or e.g. --vf=lavfi=help.
Note that in theory, the options should be able to print their own help,
and we shouldn't special case certain types (like m_option_type_choice
in the commit). But that is too hairy for now, so we don't do it.
Diffstat (limited to 'core/m_option.c')
-rw-r--r-- | core/m_option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/m_option.c b/core/m_option.c index b6f329c51f..ff27f9bcc7 100644 --- a/core/m_option.c +++ b/core/m_option.c @@ -2098,7 +2098,7 @@ static int parse_obj_settings(struct bstr opt, struct bstr *pstr, *pstr = bstr_cut(*pstr, next); if (!bstrcmp0(param, "help")) { mp_msg(MSGT_CFGPARSER, MSGL_INFO, - "Option %.*s: %.*s have no option description.\n", + "Option %.*s: %.*s has no option description.\n", BSTR_P(opt), BSTR_P(str)); return M_OPT_EXIT - 1; } |