From c6e32e91b10e5759cd7353bef8430c0c2bc5cce7 Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 17 Jun 2005 08:11:56 +0000 Subject: [PATCH] when somebody specifies e.g. --loop, the message says that a -loop option does not exist. So add an extra - to the message. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15743 b3059339-0415-0410-9bf9-f77b7e298cf2 --- parser-mecmd.c | 2 +- parser-mpcmd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/parser-mecmd.c b/parser-mecmd.c index 9fc2f3e3c8..b25d440420 100644 --- a/parser-mecmd.c +++ b/parser-mecmd.c @@ -87,7 +87,7 @@ m_config_parse_me_command_line(m_config_t *config, int argc, char **argv) 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)){ diff --git a/parser-mpcmd.c b/parser-mpcmd.c index 26644453d1..137f72cbca 100644 --- a/parser-mpcmd.c +++ b/parser-mpcmd.c @@ -191,7 +191,7 @@ m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv) } } 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); } } }