From 7f812c5d8ba357d5c4942c18b3d6d3d653c4e194 Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Tue, 11 Jun 2019 21:29:36 -0400 Subject: [PATCH] doc: add missing options allowed in NODE_OPTIONS Add missing options to the list of allowed options for the `NODE_OPTIONS` environment variable. Sort the list alphabetically. PR-URL: https://github.com/nodejs/node/pull/28179 Reviewed-By: Rich Trott Reviewed-By: Ruben Bridgewater Reviewed-By: Colin Ihrig --- doc/api/cli.md | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 6aa66cba166..07635690def 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -969,14 +969,10 @@ In case an option value happens to contain a space (for example a path listed in ``` Node.js options that are allowed are: -- `--report-directory` -- `--report-filename` -- `--report-on-fatalerror` -- `--report-on-signal` -- `--report-signal` -- `--report-uncaught-exception` - `--enable-fips` +- `--es-module-specifier-resolution` - `--experimental-modules` +- `--experimental-policy` - `--experimental-repl-await` - `--experimental-report` - `--experimental-vm-modules` @@ -984,11 +980,13 @@ Node.js options that are allowed are: - `--force-fips` - `--frozen-intrinsics` - `--heapsnapshot-signal` +- `--http-parser` - `--icu-data-dir` -- `--inspect` +- `--input-type` - `--inspect-brk` -- `--inspect-port` +- `--inspect-port`, `--debug-port` - `--inspect-publish-uid` +- `--inspect` - `--loader` - `--max-http-header-size` - `--napi-modules` @@ -997,7 +995,16 @@ Node.js options that are allowed are: - `--no-warnings` - `--openssl-config` - `--pending-deprecation` +- `--preserve-symlinks-main` +- `--preserve-symlinks` +- `--prof-process` - `--redirect-warnings` +- `--report-directory` +- `--report-filename` +- `--report-on-fatalerror` +- `--report-on-signal` +- `--report-signal` +- `--report-uncaught-exception` - `--require`, `-r` - `--throw-deprecation` - `--title` @@ -1025,10 +1032,10 @@ Node.js options that are allowed are: V8 options that are allowed are: - `--abort-on-uncaught-exception` - `--max-old-space-size` -- `--perf-basic-prof` - `--perf-basic-prof-only-functions` -- `--perf-prof` +- `--perf-basic-prof` - `--perf-prof-unwinding-info` +- `--perf-prof` - `--stack-trace-limit` ### `NODE_PATH=path[:…]`