mirror of https://github.com/mpv-player/mpv
options: don't list removed options
This commit is contained in:
parent
32f726703d
commit
d9609c792c
|
@ -767,6 +767,9 @@ void m_config_print_option_list(const struct m_config *config)
|
||||||
continue;
|
continue;
|
||||||
if (co->is_generated)
|
if (co->is_generated)
|
||||||
continue;
|
continue;
|
||||||
|
if (opt->type == &m_option_type_alias ||
|
||||||
|
opt->type == &m_option_type_removed)
|
||||||
|
continue;
|
||||||
MP_INFO(config, " %s%-30s", prefix, co->name);
|
MP_INFO(config, " %s%-30s", prefix, co->name);
|
||||||
if (opt->type == &m_option_type_choice) {
|
if (opt->type == &m_option_type_choice) {
|
||||||
MP_INFO(config, " Choices:");
|
MP_INFO(config, " Choices:");
|
||||||
|
|
Loading…
Reference in New Issue