From 89dc74885db7379fb542ba1ffc9907226dbb000d Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 25 Oct 2019 13:41:34 +0200 Subject: [PATCH] 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 --- DOCS/man/options.rst | 6 +++--- 1 file 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=`` - Load a Lua script. You can load multiple scripts by separating them with - commas (``,``). +``--script=``, ``--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