dfhack/scripts/devel/print-args.lua

11 lines
222 B
Lua

2014-07-09 04:21:52 -06:00
--print-args.lua
--author expwnent
--prints all the arguments on their own line with quotes around them. useful for debugging
local args = {...}
2014-07-09 04:21:52 -06:00
print("print-args")
for _,arg in ipairs(args) do
print("'"..arg.."'")
end
2014-07-09 04:21:52 -06:00