Fix missing parameters error format

master
Lars Mueller 2020-10-06 19:08:55 +02:00
parent f614769221
commit 27095715bf
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ function build_param_parser(syntax)
return "Too few parameters given! At least " .. minimum .. " " ..
((minimum == 1 and "is") or "are") ..
" required. The following parameters are missing: " ..
table.concat({unpack(required_params, #params + 1)})
table.concat({unpack(required_params, #params + 1)}, ", ")
end
local paramtable = {}
for index, name in ipairs(paramlist) do