mirror of https://github.com/mpv-player/mpv
parser-cfg: specify which config file contains the unknown option
Also add some punctuation to the warning message.
This commit is contained in:
parent
41d6ddf5fb
commit
fa0ea3bd0d
|
@ -230,8 +230,8 @@ int m_config_parse_config_file(m_config_t *config, const char *conffile)
|
|||
PRINT_LINENUM;
|
||||
if (tmp == M_OPT_UNKNOWN) {
|
||||
mp_msg(MSGT_CFGPARSER, MSGL_WARN,
|
||||
"Warning unknown option %s at line %d\n",
|
||||
opt, line_num);
|
||||
"Warning: unknown option '%s' at line %d in file '%s'.\n",
|
||||
opt, line_num, conffile);
|
||||
continue;
|
||||
}
|
||||
mp_msg(MSGT_CFGPARSER, MSGL_ERR,
|
||||
|
|
Loading…
Reference in New Issue