mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 06:03:45 +01:00
when somebody specifies e.g. --loop, the message says that a -loop option
does not exist. So add an extra - to the message. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15743 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a73a629c1b
commit
c6e32e91b1
@ -87,7 +87,7 @@ m_config_parse_me_command_line(m_config_t *config, int argc, char **argv)
|
||||
mp_opt = m_config_get_option(config,opt);
|
||||
if(!mp_opt) {
|
||||
tmp = M_OPT_UNKNOWN;
|
||||
mp_msg(MSGT_CFGPARSER, MSGL_ERR, "%s is not an MEncoder option\n",opt);
|
||||
mp_msg(MSGT_CFGPARSER, MSGL_ERR, "-%s is not an MEncoder option\n",opt);
|
||||
goto err_out;
|
||||
}
|
||||
if(!entry || (mp_opt->flags & M_OPT_GLOBAL)){
|
||||
|
@ -191,7 +191,7 @@ m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv)
|
||||
}
|
||||
} else {
|
||||
tmp = M_OPT_UNKNOWN;
|
||||
mp_msg(MSGT_CFGPARSER, MSGL_ERR, "Unknown option on the command line: %s\n",opt);
|
||||
mp_msg(MSGT_CFGPARSER, MSGL_ERR, "Unknown option on the command line: -%s\n",opt);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user