mirror of https://github.com/mpv-player/mpv
options: don't cut off long options in --list-options
This was by design, so that overly long options don't mess up the column layout, but I guess it doesn't have much worth. Fixes #1426.
This commit is contained in:
parent
db30c3a3fe
commit
b26087f6f3
|
@ -767,7 +767,7 @@ void m_config_print_option_list(const struct m_config *config)
|
|||
continue;
|
||||
if (co->is_generated)
|
||||
continue;
|
||||
MP_INFO(config, " %s%-30.30s", prefix, co->name);
|
||||
MP_INFO(config, " %s%-30s", prefix, co->name);
|
||||
if (opt->type == &m_option_type_choice) {
|
||||
MP_INFO(config, " Choices:");
|
||||
struct m_opt_choice_alternatives *alt = opt->priv;
|
||||
|
|
Loading…
Reference in New Issue