summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-06 07:01:07 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-01-25 17:00:07 +0900
commit57f149e26ada032c8cc399e4a3124072095b727a (patch)
treea9c49419daff77b2dfa9332f7c7b8c8f60104853
parenta77fec7547865ab0adbd3e16fc9b6425291ccb5c (diff)
downloadmpv-57f149e26ada032c8cc399e4a3124072095b727a.tar.bz2
mpv-57f149e26ada032c8cc399e4a3124072095b727a.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 852d4c194c..aad86419c5 100644
--- a/options/m_config.c
+++ b/options/m_config.c
@@ -734,7 +734,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;