1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-16 20:27:23 +00:00

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

View File

@ -214,8 +214,10 @@ m_config_parse_option(m_config_t *config, char* arg, char* param,int set) {
#endif #endif
co = m_config_get_co(config,arg); 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; return M_OPT_UNKNOW;
}
#ifdef MP_DEBUG #ifdef MP_DEBUG
// This is the only mandatory function // This is the only mandatory function