summaryrefslogtreecommitdiff
path: root/xmake/scripts/tool/echo.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/tool/echo.lua')
-rw-r--r--xmake/scripts/tool/echo.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/xmake/scripts/tool/echo.lua b/xmake/scripts/tool/echo.lua
index df4f7fa98..eb6cff396 100644
--- a/xmake/scripts/tool/echo.lua
+++ b/xmake/scripts/tool/echo.lua
@@ -20,8 +20,11 @@
-- @file echo.lua
--
--- echo it
-print(...)
+-- echo all
+for _, v in ipairs(...) do
+ io.write(string.format("%s ", v))
+end
+io.write("\n")
-- ok
return true