options: don't list removed options

This commit is contained in:
wm4 2015-01-25 00:36:40 +01:00
parent 32f726703d
commit d9609c792c
1 changed files with 3 additions and 0 deletions

View File

@ -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:");