From 52255868c523145c7bc0fc7e2f7ef53aceba3e0d Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Tue, 11 Jun 2019 14:17:15 -0400 Subject: doc,test: test documentation consistency for NODE_OPTIONS Add a test that checks that the documented allowed options for the `NODE_OPTIONS` environment variable are consistent with the actually allowed options. 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 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/api/cli.md') diff --git a/doc/api/cli.md b/doc/api/cli.md index 07635690de..4bf6a9473a 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -969,6 +969,7 @@ In case an option value happens to contain a space (for example a path listed in ``` Node.js options that are allowed are: + - `--enable-fips` - `--es-module-specifier-resolution` - `--experimental-modules` @@ -1028,8 +1029,10 @@ Node.js options that are allowed are: - `--use-openssl-ca` - `--v8-pool-size` - `--zero-fill-buffers` + V8 options that are allowed are: + - `--abort-on-uncaught-exception` - `--max-old-space-size` - `--perf-basic-prof-only-functions` @@ -1037,6 +1040,7 @@ V8 options that are allowed are: - `--perf-prof-unwinding-info` - `--perf-prof` - `--stack-trace-limit` + ### `NODE_PATH=path[:…]`