dfhack/scripts/devel/print-args2.lua

18 lines
281 B
Lua

--print-args2.lua
--author expwnent
2015-11-04 05:14:10 -07:00
--[[=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