From d7c38a0b23970569afe76f1c647c895506bfb65d Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 13 Feb 2018 02:31:29 +0100 Subject: options: prefix option with "--" in one case in help output --- options/m_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options/m_config.c b/options/m_config.c index 32c1c58d92..dc0fcf9c54 100644 --- a/options/m_config.c +++ b/options/m_config.c @@ -1046,7 +1046,7 @@ void m_config_print_option_list(const struct m_config *config, const char *name) if (opt->type == &m_option_type_alias) MP_INFO(config, " for %s", (char *)opt->priv); if (opt->type == &m_option_type_cli_alias) - MP_INFO(config, " for %s (CLI/config files only)", (char *)opt->priv); + MP_INFO(config, " for --%s (CLI/config files only)", (char *)opt->priv); MP_INFO(config, "\n"); for (int n = 0; opt->type->actions && opt->type->actions[n].name; n++) { const struct m_option_action *action = &opt->type->actions[n]; -- cgit v1.2.3