diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2024-03-11 17:13:33 -0400 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2024-03-11 17:13:33 -0400 |
commit | 8ebe3c9d4daeecd46a53791b783d4bbcd58e51ec (patch) | |
tree | 8842cc88dacade52744b23cb71e2d72adb95ffeb | |
parent | 6c7bd5e6956d70d8b1713af2e389a44c59f3eb0c (diff) | |
download | lite-xl-plugin-manager-8ebe3c9d4daeecd46a53791b783d4bbcd58e51ec.tar.gz lite-xl-plugin-manager-8ebe3c9d4daeecd46a53791b783d4bbcd58e51ec.zip |
Fixed the issue with --.
-rw-r--r-- | src/lpm.lua | 1 |
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 |