summaryrefslogtreecommitdiff
path: root/doc_parser.lua
diff options
context:
space:
mode:
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