summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-10-25 13:41:34 +0200
committerwm4 <wm4@nowhere>2019-10-25 13:41:34 +0200
commite67386e50be262820a632effbb2b17ecaf98c737 (patch)
tree91e0c5ace1671496c2c6a167a4659b23ad7c8c9b /DOCS/man/options.rst
parentd66eb93e5d45892cc0cdd72a579907e251d9953b (diff)
downloadmpv-e67386e50be262820a632effbb2b17ecaf98c737.tar.bz2
mpv-e67386e50be262820a632effbb2b17ecaf98c737.tar.xz
manpage: fix --script docs
This doesn't take a ',' separated list. --script is just an alias for --scripts--append. --scripts accepts a list, but uses the mplayer-inherited platform-dependent path separator. Fixes: #5996
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index d537380e78..5d35e226dc 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -696,9 +696,9 @@ Program Behavior
configuration subdirectory (usually ``~/.config/mpv/scripts/``).
(Default: ``yes``)
-``--script=<filename>``
- Load a Lua script. You can load multiple scripts by separating them with
- commas (``,``).
+``--script=<filename>``, ``--scripts=file1.lua:file2.lua:...``
+ Load a Lua script. The second option allows you to load multiple scripts by
+ separating them with the path separator (``:`` on Unix, ``;`` on Windows).
``--script-opts=key1=value1,key2=value2,...``
Set options for scripts. A script can query an option by key. If an