options: prefix options with "--" in help output
This is Better(tm).
This commit is contained in:
1 parent
5dca96c1a4
commit
0cb9227a73
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user