summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/internal/main/print_help.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/internal/main/print_help.js b/lib/internal/main/print_help.js
index 406c13eeff..34a8e19f08 100644
--- a/lib/internal/main/print_help.js
+++ b/lib/internal/main/print_help.js
@@ -163,8 +163,8 @@ function print(stream) {
'interactive mode if a tty)' });
options.set('--', { helpText: 'indicate the end of node options' });
stream.write(
- 'Usage: node [options] [ -e script | script.js | - ] [arguments]\n' +
- ' node inspect script.js [arguments]\n\n' +
+ 'Usage: node [options] [ script.js ] [arguments]\n' +
+ ' node inspect [options] [ script.js | host:port ] [arguments]\n\n' +
'Options:\n');
stream.write(indent(format({
options, aliases, firstColumn, secondColumn