aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpm.lua')
-rw-r--r--src/lpm.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index 0d5a173..0289915 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -2512,6 +2512,7 @@ not commonly used publically.
for i,v in ipairs(ARGS) do
if v:find("^%-%-") then
+ if #v == 2 then break end
error("unknown flag " .. v)
end
end