summaryrefslogtreecommitdiffstats
path: root/core/m_option.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/m_option.c')
-rw-r--r--core/m_option.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/m_option.c b/core/m_option.c
index 3a14564830..4ee8ba97ad 100644
--- a/core/m_option.c
+++ b/core/m_option.c
@@ -2283,8 +2283,10 @@ static int parse_obj_settings_list(const m_option_t *opt, struct bstr name,
struct m_obj_desc desc;
if (!ol->get_desc(&desc, n))
break;
- mp_msg(MSGT_CFGPARSER, MSGL_INFO, " %-15s: %s\n",
- desc.name, desc.description);
+ if (!desc.hidden) {
+ mp_msg(MSGT_CFGPARSER, MSGL_INFO, " %-15s: %s\n",
+ desc.name, desc.description);
+ }
}
mp_msg(MSGT_CFGPARSER, MSGL_INFO, "\n");
return M_OPT_EXIT - 1;