options: pretty print default values with --list-options

This commit is contained in:
wm4 2018-01-31 04:28:22 +01:00
parent 8b3306924d
commit 1742614505
1 changed files with 1 additions and 1 deletions

View File

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