function auMapCli(map, allowMultiple) local ret = true if (allowMultiple) then ret = {} end for k, v in pairs(map) do if (_OPTIONS[k] ~= nil) then if (not allowMultiple) then return v end table.insert(ret, v) end end return ret end return auMapCli