diff options
author | wm4 <wm4@nowhere> | 2015-04-17 16:06:43 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-04-17 16:06:43 +0200 |
commit | 55ba4db742911689a7feb45b7b102dfd12e8eda8 (patch) | |
tree | 4f00016b5149a063982a9dce560ebee5cdd3ce21 /options/parse_configfile.c | |
parent | 18f30787f25ae8e85901ce9b83c6fba78348cd2a (diff) | |
download | mpv-55ba4db742911689a7feb45b7b102dfd12e8eda8.tar.bz2 mpv-55ba4db742911689a7feb45b7b102dfd12e8eda8.tar.xz |
options: clarify quoting for option values starting with %
Diffstat (limited to 'options/parse_configfile.c')
-rw-r--r-- | options/parse_configfile.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/options/parse_configfile.c b/options/parse_configfile.c index 2b2e8a864f..8ccf6579ba 100644 --- a/options/parse_configfile.c +++ b/options/parse_configfile.c @@ -106,7 +106,10 @@ int m_config_parse(m_config_t *config, const char *location, bstr data, if (rest.len == line.len || !bstr_eatstart0(&rest, "%") || len > rest.len) { - MP_ERR(config, "%s broken escaping with '%%'\n", loc); + MP_ERR(config, "%s fixed-length quoting expected - put " + "\"quotes\" around the option value if you did not " + "intend to use this, but your option value starts " + "with '%%'\n", loc); goto error; } value = bstr_splice(rest, 0, len); |