summaryrefslogtreecommitdiffstats
path: root/mpvcore
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-21 16:19:23 +0100
committerwm4 <wm4@nowhere>2013-11-21 16:19:23 +0100
commit0cb9227a73f03a6ecdf71e837c7c33c823b194b4 (patch)
treef5579a36fb39c5e5639a7bdc2d2cd59e8662160a /mpvcore
parent5dca96c1a43f94d23cf208e5e5ae9e7c7d0c344a (diff)
downloadmpv-0cb9227a73f03a6ecdf71e837c7c33c823b194b4.tar.bz2
mpv-0cb9227a73f03a6ecdf71e837c7c33c823b194b4.tar.xz
options: prefix options with "--" in help output
This is Better(tm).
Diffstat (limited to 'mpvcore')
-rw-r--r--mpvcore/m_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/m_config.c b/mpvcore/m_config.c
index c5b9753cd7..0e23c899fd 100644
--- a/mpvcore/m_config.c
+++ b/mpvcore/m_config.c
@@ -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;