doc: add description for --port flag of node inspect

PR-URL: https://github.com/nodejs/node/pull/48785
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Michael Bianco authored and Michaël Zasso committed 2023-11-26 20:32:32 +01:00
1 parent 633b8cd181
commit 9ce73964be
1 file changed
+1 -1
+1 -1
View File
@@ -331,7 +331,7 @@ function startInspect(argv = ArrayPrototypeSlice(process.argv, 2),
process.stderr.write(`Usage: ${invokedAs} script.js\n` +
` ${invokedAs} <host>:<port>\n` +
` ${invokedAs} --port=<port>\n` +
` ${invokedAs} --port=<port> Use 0 for random port assignment\n` +
` ${invokedAs} -p <pid>\n`);
process.exit(1);
}