mirror of https://github.com/mpv-player/mpv
print meaningful error message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8893 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
21191f9a28
commit
62d48abc7c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue