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 <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Richard Lau 2019-06-11 21:29:36 -04:00 committed by Rich Trott
parent 3cdd5a286e
commit 7f812c5d8b

View File

@ -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: Node.js options that are allowed are:
- `--report-directory`
- `--report-filename`
- `--report-on-fatalerror`
- `--report-on-signal`
- `--report-signal`
- `--report-uncaught-exception`
- `--enable-fips` - `--enable-fips`
- `--es-module-specifier-resolution`
- `--experimental-modules` - `--experimental-modules`
- `--experimental-policy`
- `--experimental-repl-await` - `--experimental-repl-await`
- `--experimental-report` - `--experimental-report`
- `--experimental-vm-modules` - `--experimental-vm-modules`
@ -984,11 +980,13 @@ Node.js options that are allowed are:
- `--force-fips` - `--force-fips`
- `--frozen-intrinsics` - `--frozen-intrinsics`
- `--heapsnapshot-signal` - `--heapsnapshot-signal`
- `--http-parser`
- `--icu-data-dir` - `--icu-data-dir`
- `--inspect` - `--input-type`
- `--inspect-brk` - `--inspect-brk`
- `--inspect-port` - `--inspect-port`, `--debug-port`
- `--inspect-publish-uid` - `--inspect-publish-uid`
- `--inspect`
- `--loader` - `--loader`
- `--max-http-header-size` - `--max-http-header-size`
- `--napi-modules` - `--napi-modules`
@ -997,7 +995,16 @@ Node.js options that are allowed are:
- `--no-warnings` - `--no-warnings`
- `--openssl-config` - `--openssl-config`
- `--pending-deprecation` - `--pending-deprecation`
- `--preserve-symlinks-main`
- `--preserve-symlinks`
- `--prof-process`
- `--redirect-warnings` - `--redirect-warnings`
- `--report-directory`
- `--report-filename`
- `--report-on-fatalerror`
- `--report-on-signal`
- `--report-signal`
- `--report-uncaught-exception`
- `--require`, `-r` - `--require`, `-r`
- `--throw-deprecation` - `--throw-deprecation`
- `--title` - `--title`
@ -1025,10 +1032,10 @@ Node.js options that are allowed are:
V8 options that are allowed are: V8 options that are allowed are:
- `--abort-on-uncaught-exception` - `--abort-on-uncaught-exception`
- `--max-old-space-size` - `--max-old-space-size`
- `--perf-basic-prof`
- `--perf-basic-prof-only-functions` - `--perf-basic-prof-only-functions`
- `--perf-prof` - `--perf-basic-prof`
- `--perf-prof-unwinding-info` - `--perf-prof-unwinding-info`
- `--perf-prof`
- `--stack-trace-limit` - `--stack-trace-limit`
### `NODE_PATH=path[:…]` ### `NODE_PATH=path[:…]`