Skip to content

Commit f6b97f2

Browse files
richardlauBridgeAR
authored andcommitted
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: #28179 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 7d0ffee commit f6b97f2

1 file changed

Lines changed: 17 additions & 10 deletions

File tree

‎doc/api/cli.md‎

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -980,27 +980,25 @@ In case an option value happens to contain a space (for example a path listed in
980980
```
981981

982982
Node.js options that are allowed are:
983-
-`--report-directory`
984-
-`--report-filename`
985-
-`--report-on-fatalerror`
986-
-`--report-on-signal`
987-
-`--report-signal`
988-
-`--report-uncaught-exception`
989983
-`--enable-fips`
984+
-`--es-module-specifier-resolution`
990985
-`--experimental-modules`
986+
-`--experimental-policy`
991987
-`--experimental-repl-await`
992988
-`--experimental-report`
993989
-`--experimental-vm-modules`
994990
-`--experimental-wasm-modules`
995991
-`--force-fips`
996992
-`--frozen-intrinsics`
997993
-`--heapsnapshot-signal`
994+
-`--http-parser`
998995
-`--http-server-default-timeout`
999996
-`--icu-data-dir`
1000-
-`--inspect`
997+
-`--input-type`
1001998
-`--inspect-brk`
1002-
-`--inspect-port`
999+
-`--inspect-port`, `--debug-port`
10031000
-`--inspect-publish-uid`
1001+
-`--inspect`
10041002
-`--loader`
10051003
-`--max-http-header-size`
10061004
-`--napi-modules`
@@ -1009,7 +1007,16 @@ Node.js options that are allowed are:
10091007
-`--no-warnings`
10101008
-`--openssl-config`
10111009
-`--pending-deprecation`
1010+
-`--preserve-symlinks-main`
1011+
-`--preserve-symlinks`
1012+
-`--prof-process`
10121013
-`--redirect-warnings`
1014+
-`--report-directory`
1015+
-`--report-filename`
1016+
-`--report-on-fatalerror`
1017+
-`--report-on-signal`
1018+
-`--report-signal`
1019+
-`--report-uncaught-exception`
10131020
-`--require`, `-r`
10141021
-`--throw-deprecation`
10151022
-`--title`
@@ -1037,10 +1044,10 @@ Node.js options that are allowed are:
10371044
V8 options that are allowed are:
10381045
-`--abort-on-uncaught-exception`
10391046
-`--max-old-space-size`
1040-
-`--perf-basic-prof`
10411047
-`--perf-basic-prof-only-functions`
1042-
-`--perf-prof`
1048+
-`--perf-basic-prof`
10431049
-`--perf-prof-unwinding-info`
1050+
-`--perf-prof`
10441051
-`--stack-trace-limit`
10451052

10461053
### `NODE_PATH=path[:…]`

0 commit comments

Comments
 (0)