summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-06 07:01:07 +0100
committerwm4 <wm4@nowhere>2015-01-06 07:01:07 +0100
commitb26087f6f337b87eb9679b8adec03e92e178c5d3 (patch)
tree7632eaa4f4403d91a9654366b0c1e1ca162813f3
parentdb30c3a3fe955b7ac8cb8082b8e94c2ad59e94e9 (diff)
downloadmpv-b26087f6f337b87eb9679b8adec03e92e178c5d3.tar.bz2
mpv-b26087f6f337b87eb9679b8adec03e92e178c5d3.tar.xz
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.
-rw-r--r--options/m_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/m_config.c b/options/m_config.c
index e57b8ccd17..3b1169fa52 100644
--- a/options/m_config.c
+++ b/options/m_config.c
@@ -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;