summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-28 17:51:33 +0200
committerwm4 <wm4@nowhere>2014-08-28 17:51:33 +0200
commitff7a1c21ceab91e29a2f4d4b10ef3177159ca4ae (patch)
tree4686815962c8178481fab6b9485b3c68de6d2035
parente47a9bd721d6a6fcc06143aee5432d2a44866efb (diff)
downloadmpv-ff7a1c21ceab91e29a2f4d4b10ef3177159ca4ae.tar.bz2
mpv-ff7a1c21ceab91e29a2f4d4b10ef3177159ca4ae.tar.xz
options: more detailed output for --vf-... error message
-rw-r--r--options/m_option.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/options/m_option.c b/options/m_option.c
index e11f96bbcc..6ab1fc1f7a 100644
--- a/options/m_option.c
+++ b/options/m_option.c
@@ -2698,9 +2698,11 @@ static int parse_obj_settings_list(struct mp_log *log, const m_option_t *opt,
" Remove the given elements. Take the list element index (starting from 0).\n"
" Negative index can be used (i.e. -1 is the last element).\n"
" Filter names work as well.\n\n"
+ " %s-toggle\n"
+ " Add the filter to the list, or remove it if it's already added.\n\n"
" %s-clr\n"
- " Clear the current list.\n",
- BSTR_P(name), BSTR_P(suffix), pre, pre, pre, pre, pre);
+ " Clear the current list.\n\n",
+ BSTR_P(name), BSTR_P(suffix), pre, pre, pre, pre, pre, pre);
return M_OPT_UNKNOWN;
}