mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 15:33:12 +09:00
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:
1 parent
a9a382b993
commit
6bde8a2219
6 files changed
+34
-34
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user