0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

options: remove deprecation warning for "-foo bar" syntax

It's still deprecated, but I guess users who preferred typing a space
instead of a '=' can use it.
This commit is contained in:
wm4 2020-02-17 00:31:19 +01:00
parent fbc226af51
commit 36ca0e0030

View File

@ -93,9 +93,6 @@ static bool split_opt(struct parse_state *p)
}
p->param = bstr0(p->argv[0]);
p->argv++;
MP_WARN(p, "The legacy option syntax ('-%.*s value') is deprecated "
"and dangerous.\nPlease use '--%.*s=value'.\n",
BSTR_P(p->arg), BSTR_P(p->arg));
}
return true;