aboutsummaryrefslogtreecommitdiff
path: root/src/cli.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-01-02 00:22:28 +0100
committer0neGal <mail@0negal.com>2022-01-02 00:22:28 +0100
commit80eeab10e81a32c00c24608be83e7ea75ff9accf (patch)
treec12fe0163c16dead879e51f564f870fe8a7b980e /src/cli.js
parent67b32b527aec8d36a4b6cca14677febc46f0e26d (diff)
parent1598d8b3510580cd886c884b80a69c7b2bcfa422 (diff)
downloadViper-80eeab10e81a32c00c24608be83e7ea75ff9accf.tar.gz
Viper-80eeab10e81a32c00c24608be83e7ea75ff9accf.zip
Merge branch 'main' of 0neGal/viper into mod-support
Diffstat (limited to 'src/cli.js')
-rw-r--r--src/cli.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cli.js b/src/cli.js
index f4cce18..55cee0e 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -15,6 +15,7 @@ function hasArgs() {
cli.hasSwitch("launch") ||
cli.hasSwitch("setpath") ||
cli.hasSwitch("version") ||
+ cli.hasSwitch("updatevp") ||
cli.hasSwitch("gamepath")) {
return true;
} else {return false}
@@ -33,6 +34,7 @@ async function init() {
--cli ${lang("cli.help.cli")}
--update ${lang("cli.help.update")}
+ --updatevp ${lang("cli.help.updatevp")}
--setpath ${lang("cli.help.setpath")}`)
// In the future --setpath should be able to understand
// relative paths, instead of just absolute ones.