Mercurial > mplayer.hg
comparison parser-mecmd.c @ 17467:d631b3c09c53
Fix multiple help clauses on the command line with mencoder.
author | albeu |
---|---|
date | Mon, 23 Jan 2006 11:33:18 +0000 |
parents | feb16d0117c8 |
children | 280f93388ac3 |
comparison
equal
deleted
inserted
replaced
17466:f28ef6df8b56 | 17467:d631b3c09c53 |
---|---|
91 mp_msg(MSGT_CFGPARSER, MSGL_ERR, "-%s is not an MEncoder option\n",opt); | 91 mp_msg(MSGT_CFGPARSER, MSGL_ERR, "-%s is not an MEncoder option\n",opt); |
92 goto err_out; | 92 goto err_out; |
93 } | 93 } |
94 if(!entry || (mp_opt->flags & M_OPT_GLOBAL)){ | 94 if(!entry || (mp_opt->flags & M_OPT_GLOBAL)){ |
95 tmp = m_config_set_option(config, opt, argv[i + 1]); | 95 tmp = m_config_set_option(config, opt, argv[i + 1]); |
96 if (tmp <= M_OPT_EXIT) { | |
97 opt_exit = 1; | |
98 tmp = M_OPT_EXIT - tmp; | |
99 } | |
96 if(tmp < 0){ | 100 if(tmp < 0){ |
97 // mp_msg(MSGT_CFGPARSER, MSGL_ERR, "m_config_set_option() failed (%d)\n",tmp); | 101 // mp_msg(MSGT_CFGPARSER, MSGL_ERR, "m_config_set_option() failed (%d)\n",tmp); |
98 goto err_out; | 102 goto err_out; |
99 } | 103 } |
100 } else { | 104 } else { |