summaryrefslogtreecommitdiffstats
path: root/DOCS/man/en
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-28 22:25:48 +0100
committerwm4 <wm4@nowhere>2014-02-28 22:25:48 +0100
commit1e2d409fb4f08dd73554c8c065292af325bf9f12 (patch)
tree290d0e28a3eba61e971ffd67cd6124f9c52f084e /DOCS/man/en
parent47ede0f5e3573fb6d6f40870ed50c209a1a00a38 (diff)
downloadmpv-1e2d409fb4f08dd73554c8c065292af325bf9f12.tar.bz2
mpv-1e2d409fb4f08dd73554c8c065292af325bf9f12.tar.xz
lua: add option to disable auto-loading of lua scripts
Diffstat (limited to 'DOCS/man/en')
-rw-r--r--DOCS/man/en/mpv.rst3
-rw-r--r--DOCS/man/en/options.rst4
2 files changed, 6 insertions, 1 deletions
diff --git a/DOCS/man/en/mpv.rst b/DOCS/man/en/mpv.rst
index fc17e759f0..39e33f75c0 100644
--- a/DOCS/man/en/mpv.rst
+++ b/DOCS/man/en/mpv.rst
@@ -603,7 +603,8 @@ FILES
``~/.mpv/lua/``
All files in this directly are loaded as if they were passed to the
``--lua`` option. They are loaded in alphabetical order, and sub-directories
- and files with no ``.lua`` extension are ignored.
+ and files with no ``.lua`` extension are ignored. The ``--load-scripts=no``
+ option disables loading these files.
EXAMPLES OF MPV USAGE
diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst
index ca887eccfb..6461750062 100644
--- a/DOCS/man/en/options.rst
+++ b/DOCS/man/en/options.rst
@@ -1286,6 +1286,10 @@ OPTIONS
``--list-properties``
Print a list of the available properties.
+``--load-scripts=<yes|no>``
+ If set to ``no``, don't auto-load scripts from ``~/.mpv/lua/``.
+ (Default: ``yes``)
+
``--load-unsafe-playlists``
Normally, something like ``mpv playlist.m3u`` won't load the playlist. This
is because the playlist code is unsafe. (This is the same in all other