summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-04-02 20:57:20 +0200
committerwm4 <wm4@nowhere>2016-04-02 20:57:20 +0200
commite5af1d906115eac71acf5bcb506f8da33a0eaca4 (patch)
treec00285f5f5329ac2bc4e18a9ce2368c34a6e8ec5 /DOCS
parent67888a41e72dac35c4736c8a4f946c7f06148427 (diff)
downloadmpv-e5af1d906115eac71acf5bcb506f8da33a0eaca4.tar.bz2
mpv-e5af1d906115eac71acf5bcb506f8da33a0eaca4.tar.xz
manpage: add example for --msg-level
I guess the syntax is not necessarily very obvious.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/options.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 6f280eebb7..b5710fa556 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -2967,6 +2967,22 @@ Terminal
:debug: debug messages
:trace: very noisy debug messages
+ .. admonition:: Example
+
+ ::
+
+ mpv --msg-level=ao/sndio=no
+
+ Completely silences the output of ao_sndio, which uses the log
+ prefix ``[ao/sndio]``.
+
+ ::
+
+ mpv --msg-level=all=warn,ao/alsa=error
+
+ Only show warnings or worse, and let the ao_alsa output show errors
+ only.
+
``--term-osd, --no-term-osd``, ``--term-osd=force``
Display OSD messages on the console when no video output is available.
Enabled by default.