dfhack/scripts/devel/print-args2.lua

18 lines
281 B
Lua

--print-args2.lua
--author expwnent
--[[=begin
devel/print-args2
=================
Prints all the arguments you supply to the script on their own line
with quotes around them.
=end]]
local args = {...}
print("print-args")
for _,arg in ipairs(args) do
print("'"..arg.."'")
end