From 712b33b4a7feddc63eca2dc786b0ea1319f9cb21 Mon Sep 17 00:00:00 2001 From: Danielv123 Date: Thu, 11 Jan 2018 22:07:18 +0100 Subject: [PATCH] #59 improved helptext for new features --- client.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client.js b/client.js index 07bb8d21..c2a04bc3 100644 --- a/client.js +++ b/client.js @@ -77,7 +77,9 @@ if (!command || command == "help" || command == "--help") { console.error("node client.js list"); console.error("node client.js delete [instance]"); console.error("To download the latest version of the Clusterio lua mod, do"); - console.error("node client.js download"); + console.error("node client.js manage shared mods download clusterio"); + console.error("For more management options, do"); + console.error("node client.js manage"); process.exit(1); } else if (command == "list") { let instanceNames = fileOps.getDirectoriesSync("./instances/"); @@ -128,7 +130,7 @@ if (!command || command == "help" || command == "--help") { //const fullUsage = 'node client.js manage [instance, "shared"] ["mods", "config"] ...'; function usage(instance, tool, action){ if(tool && tool == "mods"){ - console.log('node client.js manage '+instance+' '+tool+' ["list", "search", "update"]'); + console.log('node client.js manage '+instance+' '+tool+' ["list", "search", "add", "remove", "update"]'); } else if(tool && tool == "config") { console.log('node client.js manage '+instance+' '+tool+' ["list", "edit"]'); } else {