aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.lua
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap.lua')
-rw-r--r--bootstrap.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstrap.lua b/bootstrap.lua
index 10d6f3b..c257965 100644
--- a/bootstrap.lua
+++ b/bootstrap.lua
@@ -157,6 +157,12 @@ local compile_actions = {
end,
["nomsu environment name"] = function(self)
return LuaCode('"_ENV"')
+ end,
+ ["this file was run directly"] = function(self)
+ return LuaCode('WAS_RUN_DIRECTLY')
+ end,
+ ["the command line arguments"] = function(self)
+ return LuaCode('COMMAND_LINE_ARGS')
end
}
return compile_actions