Mercurial > mplayer.hg
changeset 8892:06843e67a04b
print meaningful error message
author | arpi |
---|---|
date | Sat, 11 Jan 2003 16:42:24 +0000 |
parents | 5b73c925436e |
children | 268b3fbc35b7 |
files | m_config.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
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