Skip to content

Commit

Permalink
manpage: fix --script docs
Browse files Browse the repository at this point in the history
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: mpv-player#5996
  • Loading branch information
wm4 authored and sfan5 committed Oct 25, 2019
1 parent 509f6f5 commit 89dc748
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DOCS/man/options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 89dc748

Please sign in to comment.