options: prefix options with "--" in help output

This is Better(tm).
This commit is contained in:
wm4 2013-11-21 16:19:23 +01:00
parent 5dca96c1a4
commit 0cb9227a73
1 changed files with 1 additions and 1 deletions

View File

@ -644,7 +644,7 @@ void m_config_print_option_list(const struct m_config *config)
continue;
if (co->is_generated)
continue;
mp_msg(MSGT_CFGPARSER, MSGL_INFO, " %-30.30s", co->name);
mp_msg(MSGT_CFGPARSER, MSGL_INFO, " --%-30.30s", co->name);
if (opt->type == &m_option_type_choice) {
mp_msg(MSGT_CFGPARSER, MSGL_INFO, " Choices:");
struct m_opt_choice_alternatives *alt = opt->priv;