diff options
author | wm4 <wm4@nowhere> | 2013-11-21 16:19:23 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-21 16:19:23 +0100 |
commit | 0cb9227a73f03a6ecdf71e837c7c33c823b194b4 (patch) | |
tree | f5579a36fb39c5e5639a7bdc2d2cd59e8662160a /mpvcore | |
parent | 5dca96c1a43f94d23cf208e5e5ae9e7c7d0c344a (diff) | |
download | mpv-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.c | 2 |
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; |