[MPlayer-cvslog] CVS: main parser-mpcmd.c, 1.21, 1.22 parser-mecmd.c, 1.9, 1.10

Reimar Döffinger CVS syncmail at mplayerhq.hu
Fri Jun 17 10:11:58 CEST 2005


CVS change done by Reimar Döffinger CVS

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

Modified Files:
	parser-mpcmd.c parser-mecmd.c 
Log Message:
when somebody specifies e.g. --loop, the message says that a -loop option
does not exist. So add an extra - to the message.


Index: parser-mpcmd.c
===================================================================
RCS file: /cvsroot/mplayer/main/parser-mpcmd.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- parser-mpcmd.c	23 Apr 2005 20:41:19 -0000	1.21
+++ parser-mpcmd.c	17 Jun 2005 08:11:56 -0000	1.22
@@ -191,7 +191,7 @@
 	      }
 	    } 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);
 	    }
 	  }
 	}

Index: parser-mecmd.c
===================================================================
RCS file: /cvsroot/mplayer/main/parser-mecmd.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- parser-mecmd.c	23 Apr 2005 20:41:19 -0000	1.9
+++ parser-mecmd.c	17 Jun 2005 08:11:56 -0000	1.10
@@ -87,7 +87,7 @@
 	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)){




More information about the MPlayer-cvslog mailing list