summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-29 15:50:09 +0200
committerwm4 <wm4@nowhere>2015-05-29 15:50:09 +0200
commit327b091909e713c2c53a45c2868ed6ae0e70a533 (patch)
treee1aa4261f2c67f9a480693a4cdf274713b1907b5 /DOCS/man
parent9fe6a8c5f54ad89b962e3d88c641b352308beacd (diff)
downloadmpv-327b091909e713c2c53a45c2868ed6ae0e70a533.tar.bz2
mpv-327b091909e713c2c53a45c2868ed6ae0e70a533.tar.xz
lua: fix options submodule
It polluted the global namespace, instead of exporting the function properly. For now, keep it compatible by explicitly keeping the bogus export. Also fix a mistake in the manpage example.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/lua.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst
index d5c9b31808..db4957addc 100644
--- a/DOCS/man/lua.rst
+++ b/DOCS/man/lua.rst
@@ -519,7 +519,7 @@ Example implementation::
optionC = true,
}
read_options(options, "myscript")
- print(option.optionA)
+ print(options.optionA)
The config file will be stored in ``lua-settings/identifier.conf`` in mpv's user