print meaningful error message

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8893 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2003-01-11 16:42:24 +00:00
parent 21191f9a28
commit 62d48abc7c
1 changed files with 3 additions and 1 deletions

View File

@ -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