Skip to content
Permalink
Browse files

doc: add line for inspect host:port invocation

PR-URL: #28405
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information...
Tim Baverstock authored and targos committed Jun 24, 2019
1 parent 9975311 commit 74af944de1ec78ee0e740c3bfb1cf45af7159f19
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit 74af944

Please sign in to comment.
You can’t perform that action at this time.