summaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index cbf27129..8ecfd472 100644
--- a/main.lua
+++ b/main.lua
@@ -36,7 +36,7 @@ local function loadArgs()
end
end
if key then
- _G[key:upper()] = getValue(value)
+ _G[key:upper():gsub('-', '_')] = getValue(value)
end
end
end