fixed arguments in updater
This commit is contained in:
@@ -213,13 +213,13 @@ if #args<1 then
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if args == "-h" then
|
if args[1] == "-h" then
|
||||||
print(helpText)
|
print(helpText)
|
||||||
return
|
return
|
||||||
elseif args == "-a" then
|
elseif args[1] == "-a" then
|
||||||
automaticUpdate()
|
automaticUpdate()
|
||||||
return
|
return
|
||||||
elseif args == "-i" then
|
elseif args[1] == "-i" then
|
||||||
automaticUpdate()
|
automaticUpdate()
|
||||||
automaticInstall()
|
automaticInstall()
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user