changeset 14541:bef9d6dc2333

Clarify confusing error message.
author diego
date Wed, 19 Jan 2005 18:24:53 +0000
parents b13b7088f1d9
children 4a6b79a1ad52
files parser-mecmd.c parser-mpcmd.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/parser-mecmd.c	Wed Jan 19 18:05:03 2005 +0000
+++ b/parser-mecmd.c	Wed Jan 19 18:24:53 2005 +0000
@@ -72,7 +72,7 @@
 	no_more_opts = 1;
 	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;
 	  }
 	continue;
--- a/parser-mpcmd.c	Wed Jan 19 18:05:03 2005 +0000
+++ b/parser-mpcmd.c	Wed Jan 19 18:24:53 2005 +0000
@@ -95,7 +95,7 @@
 	no_more_opts = 1;
 	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;
 	  }
 	continue;