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:
parent
21191f9a28
commit
62d48abc7c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user