summaryrefslogtreecommitdiff
path: root/doc_parser.lua
diff options
context:
space:
mode:
authorjussi2023-04-04 23:54:57 +0300
committerjussi2023-04-04 23:54:57 +0300
commit87c91dd0a5e41afd36d219d1bb030cde92c1474c (patch)
treeea3b251e09f198ecd19763f5834b493693c72a8e /doc_parser.lua
parent6a7c660f33e8ec4d351c63779df27874124597c6 (diff)
downloadreilua-enhanced-87c91dd0a5e41afd36d219d1bb030cde92c1474c.tar.gz
reilua-enhanced-87c91dd0a5e41afd36d219d1bb030cde92c1474c.tar.bz2
reilua-enhanced-87c91dd0a5e41afd36d219d1bb030cde92c1474c.zip
v0.4.
Diffstat (limited to 'doc_parser.lua')
-rw-r--r--doc_parser.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc_parser.lua b/doc_parser.lua
index 410eb05..b7e2914 100644
--- a/doc_parser.lua
+++ b/doc_parser.lua
@@ -3,7 +3,7 @@
-- Export each module as separate .md file.
local separate = false
-if arg[1] ~= nil and arg[1] == "-s" then
+if arg ~= nil and arg[1] ~= nil and arg[1] == "-s" then
separate = true
end