From 327b091909e713c2c53a45c2868ed6ae0e70a533 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 29 May 2015 15:50:09 +0200 Subject: 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. --- DOCS/man/lua.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'DOCS/man/lua.rst') 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 -- cgit v1.2.3