summaryrefslogtreecommitdiffstats
path: root/mpvcore/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/options.c')
-rw-r--r--mpvcore/options.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mpvcore/options.c b/mpvcore/options.c
index 9200c1dcf8..f62ac89721 100644
--- a/mpvcore/options.c
+++ b/mpvcore/options.c
@@ -344,6 +344,10 @@ const m_option_t mp_opts[] = {
OPT_FLAG("config", load_config, CONF_GLOBAL | CONF_NOCFG | CONF_PRE_PARSE),
OPT_STRINGLIST("reset-on-next-file", reset_options, CONF_GLOBAL),
+#ifdef CONFIG_LUA
+ OPT_STRINGLIST("lua", lua_files, CONF_GLOBAL),
+#endif
+
// ------------------------- stream options --------------------
#ifdef CONFIG_STREAM_CACHE