Remove .js suffix from node invocations

Remove the .js suffix from help texts of node invocations as well as
actual invocations as this is not necessary.  Removing it opens up the
possibility of restructuring the code into a directory with the same
name.
This commit is contained in:
Hornwitser committed 2019-10-28 19:45:32 +01:00
1 parent a9a382b993
commit 6bde8a2219
6 files changed
+34 -34

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ const cli = require("cli");
const config = require("./../config.json");
let options = cli.parse()
cli.setUsage(`node cluster_rcon.js /c game.player.force = "player"`)
cli.setUsage(`node cluster_rcon /c game.player.force = "player"`)
if(process.argv.length < 3){
cli.getUsage()
process.exit(1)