aboutsummaryrefslogtreecommitdiff
path: root/src/cli.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2023-09-16 02:17:46 +0200
committer0neGal <mail@0negal.com>2023-09-16 02:20:05 +0200
commitb125018808b43fac9f5c81d7e7b07ec92eef30fc (patch)
tree1356b2236b3f26525d1fc13f10b684ac0baebb30 /src/cli.js
parenta91f0d2eac46510c109a4faebf520f68a3456aab (diff)
downloadViper-b125018808b43fac9f5c81d7e7b07ec92eef30fc.tar.gz
Viper-b125018808b43fac9f5c81d7e7b07ec92eef30fc.zip
made some lang keys far more logical
Most of these are from back when Viper was originally started, I also removed a few keys as they were no longer in use, but were forgotten about, most of these are from pre-v1.0.0 aka, the old smaller UI
Diffstat (limited to 'src/cli.js')
-rw-r--r--src/cli.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cli.js b/src/cli.js
index 9ba5fd7..16a23d4 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -65,13 +65,13 @@ async function init() {
--cli ${lang("cli.help.cli")}
--update ${lang("cli.help.update")}
- --update-viper ${lang("cli.help.updatevp")}
+ --update-viper ${lang("cli.help.update_vp")}
--setpath ${lang("cli.help.setpath")}
- --no-vp-updates ${lang("cli.help.novpupdates")}
+ --no-vp-updates ${lang("cli.help.no_vp_updates")}
- --installmod ${lang("cli.help.installmod")}
- --removemod ${lang("cli.help.removemod")}
- --togglemod ${lang("cli.help.togglemod")}`)
+ --installmod ${lang("cli.help.install_mod")}
+ --removemod ${lang("cli.help.remove_mod")}
+ --togglemod ${lang("cli.help.toggle_mod")}`)
// In the future --setpath should be able to understand
// relative paths, instead of just absolute ones.
exit();
@@ -88,7 +88,7 @@ async function init() {
if (cli.getSwitchValue("setpath") != "") {
ipcMain.emit("setpathcli", cli.getSwitchValue("setpath"));
} else {
- console.error(lang("cli.setpath.noarg"));
+ console.error(lang("cli.setpath.no_arg"));
exit(1);
}
}