diff --git a/bostr_cli.js b/bostr_cli.js index b1e1e1f..92fc24b 100755 --- a/bostr_cli.js +++ b/bostr_cli.js @@ -13,8 +13,8 @@ function showHelp() { "Usage: bostr [command] (argv)\n" + "Available command:\n" + " makeconf [conffile] - Make config file\n" + + " checkconf [conffile] - Check config file\n" + " start [conffile] - Run bostr with specified config\n" + - " check [conffile] - Check config file\n" + " hexconverter [nip19] - Convert NIP-19 string to hex\n" + " help - Show this help text\n\n" + "Software is licensed under BSD-3-Clause\n" + @@ -39,8 +39,8 @@ switch (argv[0]) { console.log(`Edit ${argv[1]} with your editor and start with the following command:`); console.log(` $ bostr start ${argv[1]}\n`); break; - case "check": { - if (!argv[1]) return console.log("Usage: bostr check [conffile]"); + case "checkconf": { + if (!argv[1]) return console.log("Usage: bostr checkconf [conffile]"); if (!fs.existsSync(argv[1])) { console.error("Config not exists."); return process.exit(254); diff --git a/package.json b/package.json index df21080..3cfe081 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bostr", - "version": "2.0.7", + "version": "2.0.8", "description": "Nostr relay bouncer", "main": "index.js", "scripts": { @@ -27,7 +27,7 @@ }, "homepage": "https://github.com/Yonle/bostr#readme", "dependencies": { - "nostr-tools": "^2.2.1", + "nostr-tools": "^2.3.1", "ws": "^8.16.0" }, "engines": {