From 62d48abc7cddcb980168aa7e70779459ae1edf0e Mon Sep 17 00:00:00 2001 From: arpi Date: Sat, 11 Jan 2003 16:42:24 +0000 Subject: print meaningful error message git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8893 b3059339-0415-0410-9bf9-f77b7e298cf2 --- m_config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'm_config.c') diff --git a/m_config.c b/m_config.c index f669cd23bb..53257f57cb 100644 --- a/m_config.c +++ b/m_config.c @@ -214,8 +214,10 @@ m_config_parse_option(m_config_t *config, char* arg, char* param,int set) { #endif co = m_config_get_co(config,arg); - if(!co) + if(!co){ + mp_msg(MSGT_CFGPARSER, MSGL_ERR,"Unknown option: %s\n",arg); return M_OPT_UNKNOW; + } #ifdef MP_DEBUG // This is the only mandatory function -- cgit v1.2.3