1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 20:34:58 +00:00

DOCS/man/stats: bindlist: use --script-opts-append

Use --script-opts-append=bindlist instead of --script-opts to not
overwrite script-opts in mpv.conf, which may set different key bindings.
This commit is contained in:
Guido Cella 2024-10-21 12:49:17 +02:00 committed by Kacper Michajłow
parent 0c4c2caabf
commit 869484d91e

View File

@ -258,11 +258,11 @@ The keys are grouped automatically using a simple analysis of the command
string, and one should not expect documentation-level grouping accuracy,
however, it should still be reasonably useful.
Using ``--idle --script-opts=stats-bindlist=yes`` will print the list to the
terminal and quit immediately. By default long lines are shortened to 79 chars,
and terminal escape sequences are enabled. A different length limit can be
set by changing ``yes`` to a number (at least 40), and escape sequences can be
disabled by adding ``-`` before the value, e.g. ``...=-yes`` or ``...=-120``.
Using ``--idle --script-opts-append=stats-bindlist=yes`` will print the list to
the terminal and quit immediately. By default long lines are shortened to 79
chars, and terminal escape sequences are enabled. A different length limit can
be set by changing ``yes`` to a number (at least 40), and escape sequences can
be disabled by adding ``-`` before the value, e.g. ``...=-yes`` or ``...=-120``.
Like with ``--input-test``, the list includes bindings from ``input.conf`` and
from user scripts. Use ``--no-config`` to list only built-in bindings.