From 7f289744339f079b91ea4f04ea2b0c614b51bd95 Mon Sep 17 00:00:00 2001 From: albeu Date: Tue, 24 Jan 2006 11:34:24 +0000 Subject: Make -list-options work in both MPlayer and MEncoder. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17473 b3059339-0415-0410-9bf9-f77b7e298cf2 --- parser-mpcmd.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'parser-mpcmd.c') diff --git a/parser-mpcmd.c b/parser-mpcmd.c index 67b579b644..2eecb59896 100644 --- a/parser-mpcmd.c +++ b/parser-mpcmd.c @@ -136,11 +136,8 @@ m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv) mp_msg(MSGT_CFGPARSER, MSGL_DBG3, "this_opt = option: %s\n", opt); // We handle here some specific option - if(strcasecmp(opt,"list-options") == 0) { - m_config_print_option_list(config); - exit(1); - // Loop option when it apply to a group - } else if(strcasecmp(opt,"loop") == 0 && + // Loop option when it apply to a group + if(strcasecmp(opt,"loop") == 0 && (! last_entry || last_entry->child) ) { int l; char* end; -- cgit v1.2.3