dfhack/scripts/devel/print-args2.lua

11 lines
223 B
Lua

--print-args2.lua
--author expwnent
--prints all the arguments on their own line with quotes around them. useful for debugging
local args = {...}
print("print-args")
for _,arg in ipairs(args) do
print("'"..arg.."'")
end