From 08e02fefad4176dc7fa44043f9f82e66b0993cf1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 14 Oct 2011 20:34:03 +0200 Subject: mplayer: remove ---help option mplayer used to follow the convention of using a single dash ("-help") for each option. For some reason "--help" was allowed as special case. mplayer2 introduced a change to allow the more common convention with two dashes ("--help"). This means that in combination with the old special case for "--help", "---help" would suddenly be allowed. Remove this special case. --- cfg-mplayer.h | 1 - 1 file changed, 1 deletion(-) (limited to 'cfg-mplayer.h') diff --git a/cfg-mplayer.h b/cfg-mplayer.h index f09cd9edd3..342fbccd62 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -926,7 +926,6 @@ const m_option_t mplayer_opts[]={ OPT_FLAG_ON("list-properties", list_properties, CONF_GLOBAL), {"identify", &mp_msg_levels[MSGT_IDENTIFY], CONF_TYPE_FLAG, CONF_GLOBAL, 0, MSGL_V, NULL}, - {"-help", (void *) help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, {"help", (void *) help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, {"h", (void *) help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, -- cgit v1.2.3