From 934e6225195dd19cfdcffe8b7717f57018aa95e1 Mon Sep 17 00:00:00 2001 From: star-hengxing Date: Thu, 5 Jan 2023 16:45:07 +0800 Subject: fix target run with single arguments --- xmake/actions/run/main.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xmake/actions/run/main.lua b/xmake/actions/run/main.lua index 5c40fa801..f7d665ab2 100644 --- a/xmake/actions/run/main.lua +++ b/xmake/actions/run/main.lua @@ -54,7 +54,8 @@ function _do_run_target(target) end -- get run arguments - local args = option.get("arguments") or target:get("runargs") + local args = {} + table.join2(args, option.get("arguments") or target:get("runargs")) -- debugging? if option.get("debug") then -- cgit v1.3.1