aboutsummaryrefslogtreecommitdiff
path: root/src/cli.js
diff options
context:
space:
mode:
authorRémy Raes <contact@remyraes.com>2022-09-16 07:51:42 +0200
committerGitHub <noreply@github.com>2022-09-16 07:51:42 +0200
commita504dbe5e3a1dacb90a60409bbfb784f243a9413 (patch)
treecd3ed238357f4a82575b498608a2f144cf33cd23 /src/cli.js
parent16c658e245074dc2e5c9ccf09d4e5f421602fa95 (diff)
parent096c54e746def93eb6ee1b2a8d91e1e62555d610 (diff)
downloadViper-a504dbe5e3a1dacb90a60409bbfb784f243a9413.tar.gz
Viper-a504dbe5e3a1dacb90a60409bbfb784f243a9413.zip
Merge branch '0neGal:main' into feat/ci-builds
Diffstat (limited to 'src/cli.js')
-rw-r--r--src/cli.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cli.js b/src/cli.js
index 0adcd1d..dcc609d 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -18,11 +18,11 @@ function hasArgs() {
cli.hasSwitch("launch") ||
cli.hasSwitch("setpath") ||
cli.hasSwitch("version") ||
- cli.hasSwitch("updatevp") ||
cli.hasSwitch("gamepath") ||
cli.hasSwitch("togglemod") ||
cli.hasSwitch("removemod") ||
- cli.hasSwitch("installmod")) {
+ cli.hasSwitch("installmod") ||
+ cli.hasSwitch("update-viper")) {
return true;
} else {return false}
}
@@ -64,7 +64,7 @@ async function init() {
--cli ${lang("cli.help.cli")}
--update ${lang("cli.help.update")}
- --updatevp ${lang("cli.help.updatevp")}
+ --update-viper ${lang("cli.help.updatevp")}
--setpath ${lang("cli.help.setpath")}
--no-vp-updates ${lang("cli.help.novpupdates")}