aboutsummaryrefslogtreecommitdiff
path: root/src/cli.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-09-14 19:10:44 +0200
committer0neGal <mail@0negal.com>2022-09-14 19:10:44 +0200
commitd8760e60cecb51758cc32056b082c5f83886ea45 (patch)
treea6b709d604d77bad9d4911ac405f73105f5aebf7 /src/cli.js
parent0c719656d99c69e11794b61a04e2fa31bbe5bb22 (diff)
downloadViper-d8760e60cecb51758cc32056b082c5f83886ea45.tar.gz
Viper-d8760e60cecb51758cc32056b082c5f83886ea45.zip
differentiation between update() and updatevp()
Some functions have been renamed: update() -> updateNorthstar() updatevp() -> updateViper() Overall these are far better function names...
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")}