manpage: add example for --msg-level

I guess the syntax is not necessarily very obvious.
This commit is contained in:
wm4 2016-04-02 20:57:20 +02:00
parent 67888a41e7
commit e5af1d9061
1 changed files with 16 additions and 0 deletions

View File

@ -2967,6 +2967,22 @@ Terminal
:debug: debug messages :debug: debug messages
:trace: very noisy 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`` ``--term-osd, --no-term-osd``, ``--term-osd=force``
Display OSD messages on the console when no video output is available. Display OSD messages on the console when no video output is available.
Enabled by default. Enabled by default.