summaryrefslogtreecommitdiffstats
path: root/options/m_config.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-25 00:36:40 +0100
committerwm4 <wm4@nowhere>2015-01-25 00:36:40 +0100
commitd9609c792c6536c8678277c9ae621e4388f2fe17 (patch)
tree0fecce6d271f26b6c4e2251988d58f88d122dfcb /options/m_config.c
parent32f726703ddb22a83c57ad5f03177c89f8966c1d (diff)
downloadmpv-d9609c792c6536c8678277c9ae621e4388f2fe17.tar.bz2
mpv-d9609c792c6536c8678277c9ae621e4388f2fe17.tar.xz
options: don't list removed options
Diffstat (limited to 'options/m_config.c')
-rw-r--r--options/m_config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/options/m_config.c b/options/m_config.c
index 3b1169fa52..0c925368c2 100644
--- a/options/m_config.c
+++ b/options/m_config.c
@@ -767,6 +767,9 @@ void m_config_print_option_list(const struct m_config *config)
continue;
if (co->is_generated)
continue;
+ if (opt->type == &m_option_type_alias ||
+ opt->type == &m_option_type_removed)
+ continue;
MP_INFO(config, " %s%-30s", prefix, co->name);
if (opt->type == &m_option_type_choice) {
MP_INFO(config, " Choices:");