summaryrefslogtreecommitdiff
path: root/script/cli/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/cli/init.lua')
-rw-r--r--script/cli/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/script/cli/init.lua b/script/cli/init.lua
index 6d7fc0ff..d37c50ae 100644
--- a/script/cli/init.lua
+++ b/script/cli/init.lua
@@ -8,6 +8,11 @@ if _G['CHECK'] then
os.exit(0, true)
end
+if _G['DOC_UPDATE'] then
+ require 'cli.doc' .runCLI()
+ os.exit(0, true)
+end
+
if _G['DOC'] then
require 'cli.doc' .runCLI()
os.exit(0, true)