summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-02-17 00:31:19 +0100
committerwm4 <wm4@nowhere>2020-02-17 00:31:19 +0100
commit36ca0e00305fdc3d5c052c4757b00a33b2eb6b14 (patch)
tree206fa7b266487b38e71ea6923290119969fc11d2
parentfbc226af51296599a8a5f1e49ee286d5e7003898 (diff)
downloadmpv-master.tar.bz2
mpv-master.tar.xz
options: remove deprecation warning for "-foo bar" syntaxHEADmaster
It's still deprecated, but I guess users who preferred typing a space instead of a '=' can use it.
-rw-r--r--options/parse_commandline.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/options/parse_commandline.c b/options/parse_commandline.c
index 783f213053..d4c845634e 100644
--- a/options/parse_commandline.c
+++ b/options/parse_commandline.c
@@ -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;