1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-02 05:01:56 +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, string, and one should not expect documentation-level grouping accuracy,
however, it should still be reasonably useful. however, it should still be reasonably useful.
Using ``--idle --script-opts=stats-bindlist=yes`` will print the list to the Using ``--idle --script-opts-append=stats-bindlist=yes`` will print the list to
terminal and quit immediately. By default long lines are shortened to 79 chars, the terminal and quit immediately. By default long lines are shortened to 79
and terminal escape sequences are enabled. A different length limit can be chars, and terminal escape sequences are enabled. A different length limit can
set by changing ``yes`` to a number (at least 40), and escape sequences can be be set by changing ``yes`` to a number (at least 40), and escape sequences can
disabled by adding ``-`` before the value, e.g. ``...=-yes`` or ``...=-120``. be disabled by adding ``-`` before the value, e.g. ``...=-yes`` or ``...=-120``.
Like with ``--input-test``, the list includes bindings from ``input.conf`` and Like with ``--input-test``, the list includes bindings from ``input.conf`` and
from user scripts. Use ``--no-config`` to list only built-in bindings. from user scripts. Use ``--no-config`` to list only built-in bindings.