[MPlayer-cvslog] CVS: main parser-mecmd.c, 1.7, 1.8 parser-mpcmd.c, 1.19, 1.20

Diego Biurrun CVS syncmail at mplayerhq.hu
Wed Jan 19 19:24:56 CET 2005


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv4256

Modified Files:
	parser-mecmd.c parser-mpcmd.c 
Log Message:
Clarify confusing error message.


Index: parser-mecmd.c
===================================================================
RCS file: /cvsroot/mplayer/main/parser-mecmd.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- parser-mecmd.c	13 Aug 2003 16:44:39 -0000	1.7
+++ parser-mecmd.c	19 Jan 2005 18:24:53 -0000	1.8
@@ -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;

Index: parser-mpcmd.c
===================================================================
RCS file: /cvsroot/mplayer/main/parser-mpcmd.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- parser-mpcmd.c	14 Nov 2004 11:09:56 -0000	1.19
+++ parser-mpcmd.c	19 Jan 2005 18:24:53 -0000	1.20
@@ -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;




More information about the MPlayer-cvslog mailing list