summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-01-31 04:28:22 +0100
committerwm4 <wm4@nowhere>2018-02-01 10:21:55 +0100
commit174261450589d8a6ff21426c1cfc3f2508620583 (patch)
tree7f6a2664e875db34b804f8386fef6fad48c35495
parent8b3306924d1b80ed85907449ffa2549946e8b137 (diff)
downloadmpv-174261450589d8a6ff21426c1cfc3f2508620583.tar.bz2
mpv-174261450589d8a6ff21426c1cfc3f2508620583.tar.xz
options: pretty print default values with --list-options
-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 7237972660..32c1c58d92 100644
--- a/options/m_config.c
+++ b/options/m_config.c
@@ -1032,7 +1032,7 @@ void m_config_print_option_list(const struct m_config *config, const char *name)
}
char *def = NULL;
if (co->default_data)
- def = m_option_print(opt, co->default_data);
+ def = m_option_pretty_print(opt, co->default_data);
if (def) {
MP_INFO(config, " (default: %s)", def);
talloc_free(def);