end
local w = tonumber(v)
-
+
if option:scheme('minimum') then
if not w or w < option:scheme('minimum') then
return false, option:error(ERR.OPT_RANGE(option))
return false, option:error(ERR.OPT_RANGE(option))
end
end
-
- if option:scheme('max_nil') then
- if v and (not w or w > tonumber(option:scheme('max_nil'))) then
- return false, option:error(ERR.OPT_RANGE(option))
- end
- end
end
end