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:
wm4 2015-01-06 07:01:07 +01:00
parent db30c3a3fe
commit b26087f6f3
1 changed files with 1 additions and 1 deletions

View File

@ -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;