summaryrefslogtreecommitdiffstats
path: root/player/main.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-10 16:29:24 +0200
committerwm4 <wm4@nowhere>2016-09-10 16:29:24 +0200
commit484328fe04be40807bfcf170383528feeb03451d (patch)
tree85331885b9c99092ef1b745759aef447ef8a195d /player/main.c
parentebc04333d2fbcf01cad05c9aa43e8f95c810f92b (diff)
downloadmpv-484328fe04be40807bfcf170383528feeb03451d.tar.bz2
mpv-484328fe04be40807bfcf170383528feeb03451d.tar.xz
options: make --h list options according to a pattern passed to it
Useless feature, but I want it. Won't work on Windows due to missing fnmatch().
Diffstat (limited to 'player/main.c')
-rw-r--r--player/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/main.c b/player/main.c
index b1aa30f9c3..8f85bea257 100644
--- a/player/main.c
+++ b/player/main.c
@@ -97,6 +97,7 @@ const char mp_help_text[] =
" --playlist=<file> specify playlist file\n"
"\n"
" --list-options list all mpv options\n"
+" --h=<pat> print options which match the given shell pattern\n"
"\n";
static const char def_config[] =