From a0d079cf2ab243a6d4d9593f40470c5d05564065 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Sun, 2 Feb 2025 21:39:13 +0000 Subject: [PATCH] change help text to match embedded usage now that that is the default --- lib/index.js | 2 +- lib/result.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/index.js b/lib/index.js index 118503a..447f16e 100644 --- a/lib/index.js +++ b/lib/index.js @@ -34,7 +34,7 @@ var commands = { function help() { var helpText = "Usage:" + "\n" + - " node-red-admin [args] [--help] [--userDir DIR] [--json]\n\n" + + " node-red admin [args] [--help] [--userDir DIR] [--json]\n\n" + "Description:" + "\n" + " Node-RED command-line client\n\n" + "Commands:\n" + diff --git a/lib/result.js b/lib/result.js index 5a744f6..6c4d82a 100644 --- a/lib/result.js +++ b/lib/result.js @@ -195,7 +195,7 @@ module.exports = { }, help: function(command) { var helpText = "Usage:" + "\n" + - " node-red-admin " + command.usage + "\n\n" + + " node-red admin " + command.usage + "\n\n" + "Description:" + "\n" + " " + command.description + "\n\n" + "Options:" + "\n" +