diff options
| author | ruki <[email protected]> | 2020-03-01 12:49:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-03-01 12:49:09 +0800 |
| commit | ce93139a61debcca7ca3f1878775f1385e78f53a (patch) | |
| tree | 5a08edb0fce4c6fff0083cc0394dee3f62362b2f /xmake/plugins/lua/scripts/echo.lua | |
| parent | 6018704f4bfdf1906b6a45f4bb92679cefc57629 (diff) | |
improve filesystem ops
Diffstat (limited to 'xmake/plugins/lua/scripts/echo.lua')
| -rw-r--r-- | xmake/plugins/lua/scripts/echo.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xmake/plugins/lua/scripts/echo.lua b/xmake/plugins/lua/scripts/echo.lua index e25aef448..d24da06f8 100644 --- a/xmake/plugins/lua/scripts/echo.lua +++ b/xmake/plugins/lua/scripts/echo.lua @@ -20,9 +20,7 @@ -- main function main(...) - - -- echo all - for _, v in ipairs(os.argw{...}) do + for _, v in ipairs(table.pack(...)) do printf("%s ", v) end print("") |
