Content deleted Content added
m trim arguments |
No edit summary |
||
Line 254:
local b = tonumber(string.match(k, '^.+%D(%d+)$')) or 1
if parameters['strings'][a] and parameters['strings'][a] ~= '' then
args[parameters['strings'][a]][b] = v
_index[b] = true
elseif args[parameters['optional strings'][a]] and parameters['optional strings'][a] ~= '' then
args[parameters['optional strings'][a]][b] = v
elseif args[parameters['optional boolean'][a]] then
|