summaryrefslogtreecommitdiffstats
path: root/DOCS/man
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 /DOCS/man
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 'DOCS/man')
-rw-r--r--DOCS/man/options.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index dcdd73dcde..fc52f3f33e 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -325,9 +325,13 @@ Playback Control
Program Behavior
----------------
-``--help``
+``--help``, ``--h``
Show short summary of options.
+ You can also pass a shell pattern to this option, which will list all
+ matching top-level options, e.g. ``--h=*scale*`` for all options that
+ contain the word "scale".
+
``-v``
Increment verbosity level, one level for each ``-v`` found on the command
line.