Skip to content

Commit

Permalink
options: prefix options with "--" in help output
Browse files Browse the repository at this point in the history
This is Better(tm).
  • Loading branch information
wm4 committed Nov 21, 2013
1 parent 5dca96c commit 0cb9227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpvcore/m_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0cb9227

Please sign in to comment.