Skip to content

Commit 04cb60c

Browse files
authored
Merge pull request #47 from node-red/change-help-text-for-when-embedded
change help text to match embedded usage
2 parents da9a230 + a0d079c commit 04cb60c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var commands = {
3434

3535
function help() {
3636
var helpText = "Usage:" + "\n" +
37-
" node-red-admin <command> [args] [--help] [--userDir DIR] [--json]\n\n" +
37+
" node-red admin <command> [args] [--help] [--userDir DIR] [--json]\n\n" +
3838
"Description:" + "\n" +
3939
" Node-RED command-line client\n\n" +
4040
"Commands:\n" +

lib/result.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ module.exports = {
195195
},
196196
help: function(command) {
197197
var helpText = "Usage:" + "\n" +
198-
" node-red-admin " + command.usage + "\n\n" +
198+
" node-red admin " + command.usage + "\n\n" +
199199
"Description:" + "\n" +
200200
" " + command.description + "\n\n" +
201201
"Options:" + "\n" +

0 commit comments

Comments
 (0)