mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-16 07:24:53 +09:00
Use strict parsing in installer (#439)
Bail out if arguments that aren't understood are passed to the installer script instead of silently ignoring them.
This commit is contained in:
1 parent
df80effbdf
commit
f1ac22881c
1 file changed
+3
-1
@@ -527,7 +527,9 @@ async function main() {
|
||||
})
|
||||
.option("plugins", {
|
||||
array: true, describe: "Plugins to install", type: "string",
|
||||
});
|
||||
})
|
||||
.strict()
|
||||
;
|
||||
|
||||
if (process.platform === "linux") {
|
||||
args = args
|
||||
|
||||
Reference in new issue
Block a user