comparison parser-mecmd.c @ 14541:bef9d6dc2333

Clarify confusing error message.
author diego
date Wed, 19 Jan 2005 18:24:53 +0000
parents 522afd56703c
children 4fdfe0860cc5
comparison
equal deleted inserted replaced
14540:b13b7088f1d9 14541:bef9d6dc2333
70 if ((*opt == '-') && (*(opt+1) == '-') && (*(opt+2) != 'h')) 70 if ((*opt == '-') && (*(opt+1) == '-') && (*(opt+2) != 'h'))
71 { 71 {
72 no_more_opts = 1; 72 no_more_opts = 1;
73 if (i+1 >= argc) 73 if (i+1 >= argc)
74 { 74 {
75 mp_msg(MSGT_CFGPARSER, MSGL_ERR, "You added '--' but no filenames presented!\n"); 75 mp_msg(MSGT_CFGPARSER, MSGL_ERR, "'--' indicates no more options, but no filename was given on the command line.\n");
76 goto err_out; 76 goto err_out;
77 } 77 }
78 continue; 78 continue;
79 } 79 }
80 80