mirror of
https://github.com/mpv-player/mpv
synced 2025-02-16 20:27:23 +00:00
Clarify confusing error message.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14542 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e29e6dfd36
commit
6974dfae6b
@ -72,7 +72,7 @@ m_config_parse_me_command_line(m_config_t *config, int argc, char **argv)
|
|||||||
no_more_opts = 1;
|
no_more_opts = 1;
|
||||||
if (i+1 >= argc)
|
if (i+1 >= argc)
|
||||||
{
|
{
|
||||||
mp_msg(MSGT_CFGPARSER, MSGL_ERR, "You added '--' but no filenames presented!\n");
|
mp_msg(MSGT_CFGPARSER, MSGL_ERR, "'--' indicates no more options, but no filename was given on the command line.\n");
|
||||||
goto err_out;
|
goto err_out;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
@ -95,7 +95,7 @@ m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv)
|
|||||||
no_more_opts = 1;
|
no_more_opts = 1;
|
||||||
if (i+1 >= argc)
|
if (i+1 >= argc)
|
||||||
{
|
{
|
||||||
mp_msg(MSGT_CFGPARSER, MSGL_ERR, "You added '--' but no filenames presented!\n");
|
mp_msg(MSGT_CFGPARSER, MSGL_ERR, "'--' indicates no more options, but no filename was given on the command line.\n");
|
||||||
goto err_out;
|
goto err_out;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user