summaryrefslogtreecommitdiff
path: root/xmake/core/base
diff options
context:
space:
mode:
authorruki <[email protected]>2022-04-14 00:39:38 +0800
committerruki <[email protected]>2022-04-14 00:39:38 +0800
commit43acada29cc447c9db2e801410ad6abc20d2276e (patch)
tree99e9022a13f09bf5de2f0411498698e6e537b9e6 /xmake/core/base
parent12652bfd524697241b893d4a4e1672ecc3608f2c (diff)
add xmake.argv
Diffstat (limited to 'xmake/core/base')
-rw-r--r--xmake/core/base/xmake.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/base/xmake.lua b/xmake/core/base/xmake.lua
index 837742af2..e892a5a04 100644
--- a/xmake/core/base/xmake.lua
+++ b/xmake/core/base/xmake.lua
@@ -57,5 +57,10 @@ function xmake.luajit()
return xmake._LUAJIT
end
+-- get command arguments
+function xmake.argv()
+ return xmake._ARGV
+end
+
-- return module: xmake
return xmake