Mercurial > mplayer.hg
diff m_config.c @ 8892:06843e67a04b
print meaningful error message
author | arpi |
---|---|
date | Sat, 11 Jan 2003 16:42:24 +0000 |
parents | 9c784bd027ad |
children | e6a83b140b39 |
line wrap: on
line diff
--- a/m_config.c Sat Jan 11 14:09:19 2003 +0000 +++ b/m_config.c Sat Jan 11 16:42:24 2003 +0000 @@ -214,8 +214,10 @@ #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