Skip to content

Commit 74af944

Browse files
Tim Baverstocktargos
Tim Baverstock
authored andcommitted
doc: add line for inspect host:port invocation
PR-URL: #28405 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 9975311 commit 74af944

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/main/print_help.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ function print(stream) {
163163
'interactive mode if a tty)' });
164164
options.set('--', { helpText: 'indicate the end of node options' });
165165
stream.write(
166-
'Usage: node [options] [ -e script | script.js | - ] [arguments]\n' +
167-
' node inspect script.js [arguments]\n\n' +
166+
'Usage: node [options] [ script.js ] [arguments]\n' +
167+
' node inspect [options] [ script.js | host:port ] [arguments]\n\n' +
168168
'Options:\n');
169169
stream.write(indent(format({
170170
options, aliases, firstColumn, secondColumn

0 commit comments

Comments
 (0)