From 74af944de1ec78ee0e740c3bfb1cf45af7159f19 Mon Sep 17 00:00:00 2001 From: Tim Baverstock Date: Mon, 24 Jun 2019 16:50:39 +0100 Subject: [PATCH] doc: add line for inspect host:port invocation PR-URL: https://github.com/nodejs/node/pull/28405 Reviewed-By: Gireesh Punathil Reviewed-By: Rich Trott Reviewed-By: Richard Lau Reviewed-By: Ruben Bridgewater Reviewed-By: Trivikram Kamat --- lib/internal/main/print_help.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/internal/main/print_help.js b/lib/internal/main/print_help.js index 406c13eeffd6e6..34a8e19f08ec31 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