Skip to content

Commit a0d079c

Browse files
committed
change help text to match embedded usage
now that that is the default
1 parent ad6714b commit a0d079c

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)