summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2011-10-14 20:34:03 +0200
committerwm4 <wm4@mplayer2.org>2011-12-23 16:24:00 +0100
commit08e02fefad4176dc7fa44043f9f82e66b0993cf1 (patch)
tree16c29826636ea3a52cee70eff7b8dc0360414697
parent31017105e960c2967e465866818e36a8bfc18840 (diff)
downloadmpv-08e02fefad4176dc7fa44043f9f82e66b0993cf1.tar.bz2
mpv-08e02fefad4176dc7fa44043f9f82e66b0993cf1.tar.xz
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.
-rw-r--r--cfg-mplayer.h1
1 files changed, 0 insertions, 1 deletions
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},