History

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.

wm4 committed 6 years ago

Commit 36ca0e01 parent fbc226a1 file · +0 −3Browse files

Unified · Split

options/parse_commandline.c+0−3
@@ -93,9 +93,6 @@ static bool split_opt(struct parse_state *p) · 92 unmodified lines
9393 }
9494 p->param = bstr0(p->argv[0]);
9595 p->argv++;
96− MP_WARN(p, "The legacy option syntax ('-%.*s value') is deprecated "
97− "and dangerous.\nPlease use '--%.*s=value'.\n",
98− BSTR_P(p->arg), BSTR_P(p->arg));
9996 }
10097
10198 return true;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t