m_option: slightly improve --msg-level=help output

In particular get rid of the semi-deprecated ":" separator.
This commit is contained in:
wm4 2016-04-13 22:25:51 +02:00
parent 9a4120f21f
commit 0467f5287d
1 changed files with 1 additions and 1 deletions

View File

@ -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"