From 9ce73964be9cbe0809be06ac696abf8727445552 Mon Sep 17 00:00:00 2001 From: Michael Bianco Date: Fri, 11 Aug 2023 09:31:04 -0600 Subject: [PATCH] doc: add description for `--port` flag of `node inspect` PR-URL: https://github.com/nodejs/node/pull/48785 Reviewed-By: Kohei Ueno Reviewed-By: Luigi Pinca --- lib/internal/debugger/inspect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/debugger/inspect.js b/lib/internal/debugger/inspect.js index b0a86f8c494129..2522c6f34fc4bc 100644 --- a/lib/internal/debugger/inspect.js +++ b/lib/internal/debugger/inspect.js @@ -331,7 +331,7 @@ function startInspect(argv = ArrayPrototypeSlice(process.argv, 2), process.stderr.write(`Usage: ${invokedAs} script.js\n` + ` ${invokedAs} :\n` + - ` ${invokedAs} --port=\n` + + ` ${invokedAs} --port= Use 0 for random port assignment\n` + ` ${invokedAs} -p \n`); process.exit(1); }