diff parser-mpcmd.c @ 17472:526abfe30498

Make -list-options work in both MPlayer and MEncoder.
author albeu
date Tue, 24 Jan 2006 11:34:24 +0000
parents feb16d0117c8
children df9633d451dc
line wrap: on
line diff
--- a/parser-mpcmd.c	Tue Jan 24 11:16:13 2006 +0000
+++ b/parser-mpcmd.c	Tue Jan 24 11:34:24 2006 +0000
@@ -136,11 +136,8 @@
 
 	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;