scripts: improve debug-output of F.config(...)

This commit is contained in:
Sven Roederer 2020-02-28 21:28:47 +01:00 committed by Sven Roederer
parent 15ab712dd0
commit 21291dc412

View File

@ -151,7 +151,8 @@ function F.try_config(...)
end
function F.config(...)
io.stderr:write("config: " .. ... .. "\n")
local arg = {...}
io.stderr:write(string.format("config: %s; %i\n", ... , #arg))
M.configs[string.format(...)] = 2
end