dfhack/scripts/devel/print-args.lua

16 lines
259 B
Lua

2014-07-09 04:21:52 -06:00
--print-args.lua
--author expwnent
2015-11-04 05:14:10 -07:00
--[[=begin
devel/print-args
================
Prints all the arguments you supply to the script on their own line.
Useful for debugging other scripts.
=end]]
local args = {...}
for _,arg in ipairs(args) do
print(arg)
end