summaryrefslogtreecommitdiff
path: root/xmake/plugins/macro/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins/macro/main.lua')
-rwxr-xr-xxmake/plugins/macro/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/macro/main.lua b/xmake/plugins/macro/main.lua
index 89c6e1f54..3de5ca598 100755
--- a/xmake/plugins/macro/main.lua
+++ b/xmake/plugins/macro/main.lua
@@ -201,7 +201,7 @@ function _run(macroname)
macro = import(macroname, {rootdir = _directory()})
-- run macro
- macro.main((option.get("argv") or ""):split("%s"))
+ macro.main(option.get("arguments"))
-- trace
print("run macro(%s) ok!", macroname)