mirror of https://github.com/mpv-player/mpv
m_option: slightly improve --msg-level=help output
In particular get rid of the semi-deprecated ":" separator.
This commit is contained in:
parent
9a4120f21f
commit
0467f5287d
|
@ -1654,7 +1654,7 @@ static int parse_msglevels(struct mp_log *log, const m_option_t *opt,
|
||||||
struct bstr name, struct bstr param, void *dst)
|
struct bstr name, struct bstr param, void *dst)
|
||||||
{
|
{
|
||||||
if (bstr_equals0(param, "help")) {
|
if (bstr_equals0(param, "help")) {
|
||||||
mp_info(log, "Syntax: --msglevel=module1=level:module2=level:...\n"
|
mp_info(log, "Syntax:\n\n --msglevel=module1=level,module2=level,...\n\n"
|
||||||
"'module' is output prefix as shown with -v, or a prefix\n"
|
"'module' is output prefix as shown with -v, or a prefix\n"
|
||||||
"of it. level is one of:\n\n"
|
"of it. level is one of:\n\n"
|
||||||
" fatal error warn info status v debug trace\n\n"
|
" fatal error warn info status v debug trace\n\n"
|
||||||
|
|
Loading…
Reference in New Issue