diff options
author | wm4 <wm4@nowhere> | 2017-06-23 20:23:51 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-06-23 20:23:51 +0200 |
commit | 48970cd485bf2811d1bbfcd69de55ff4f9c412e2 (patch) | |
tree | 1e758944110160aa0d18e84759c2c56a347d8010 /options/m_option.c | |
parent | b0d13fa023e38ebdee0c0087e3b95e2692be0671 (diff) | |
download | mpv-48970cd485bf2811d1bbfcd69de55ff4f9c412e2.tar.bz2 mpv-48970cd485bf2811d1bbfcd69de55ff4f9c412e2.tar.xz |
options: unbreak -h
Sure is a simple thing to break.
Diffstat (limited to 'options/m_option.c')
-rw-r--r-- | options/m_option.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/options/m_option.c b/options/m_option.c index bec2518b45..7e35153c84 100644 --- a/options/m_option.c +++ b/options/m_option.c @@ -77,6 +77,8 @@ int m_option_required_params(const m_option_t *opt) { if (opt->type->flags & M_OPT_TYPE_OPTIONAL_PARAM) return 0; + if (opt->flags & M_OPT_OPTIONAL_PARAM) + return 0; if (opt->type == &m_option_type_choice) { struct m_opt_choice_alternatives *alt; for (alt = opt->priv; alt->name; alt++) { |