From d9609c792c6536c8678277c9ae621e4388f2fe17 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 25 Jan 2015 00:36:40 +0100 Subject: options: don't list removed options --- options/m_config.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'options/m_config.c') 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:"); -- cgit v1.2.3