aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2024-03-11 17:13:33 -0400
committerAdam Harrison <adamdharrison@gmail.com>2024-03-11 17:13:33 -0400
commit8ebe3c9d4daeecd46a53791b783d4bbcd58e51ec (patch)
tree8842cc88dacade52744b23cb71e2d72adb95ffeb /src
parent6c7bd5e6956d70d8b1713af2e389a44c59f3eb0c (diff)
downloadlite-xl-plugin-manager-8ebe3c9d4daeecd46a53791b783d4bbcd58e51ec.tar.gz
lite-xl-plugin-manager-8ebe3c9d4daeecd46a53791b783d4bbcd58e51ec.zip
Fixed the issue with --.
Diffstat (limited to 'src')
-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