summaryrefslogtreecommitdiff
path: root/make/bootstrap.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-03-01 16:50:37 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-03-01 16:50:37 +0800
commit73c405b176ef9aa8468c6279fab883943def7ade (patch)
treeb8e4c26f753be9bd9d738ad1a6e8f72541a111c6 /make/bootstrap.lua
parent1eab1e0ed18697304619b0e1ec15064a155aa772 (diff)
downloadlua-language-server-73c405b176ef9aa8468c6279fab883943def7ade.zip
ci
Diffstat (limited to 'make/bootstrap.lua')
-rw-r--r--make/bootstrap.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/make/bootstrap.lua b/make/bootstrap.lua
index c820a869..6c27cf95 100644
--- a/make/bootstrap.lua
+++ b/make/bootstrap.lua
@@ -10,6 +10,8 @@ while arg[i] do
exec = true
elseif not main and arg[i]:sub(1, 1) ~= '-' then
main = i
+ elseif arg[i]:sub(1, 2) == '--' then
+ break
end
i = i + 1
end