# HG changeset patch # User arpi # Date 1042303344 0 # Node ID 06843e67a04b61a572856c70e6df4b410a9b04ca # Parent 5b73c925436ed06106970a25b1eb4de6f296b63e print meaningful error message diff -r 5b73c925436e -r 06843e67a04b m_config.c --- 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