提交 83707692 编写于 作者: L Lion

return the undefined the option

上级 85d955b5
......@@ -40,6 +40,9 @@ for _, r in ipairs(arg) do
srcFile = v
elseif k == "cache-policy" then
cachePolicy = v
else
print(string.format("undefined option `%s`", r))
return
end
-- break the match iterate
......
......@@ -37,6 +37,9 @@ for _, r in ipairs(arg) do
dbFile = v
elseif k == "cache-policy" then
cachePolicy = v
else
print(string.format("undefined option `%s`", r))
return
end
-- break the match iterate
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册