From 36ca0e00305fdc3d5c052c4757b00a33b2eb6b14 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 17 Feb 2020 00:31:19 +0100 Subject: [PATCH] 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. --- options/parse_commandline.c | 3 --- 1 file changed, 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;