From fc9732bd3ef26c6d71a1503708ff755641bf24b0 Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Wed, 13 Mar 2024 19:38:02 +0000 Subject: [PATCH 1/2] doc: clarify what is supported in NODE_OPTIONS Signed-off-by: Michael Dawson --- doc/api/cli.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index b445f6b0e176f1..5b5ab36ca0a4e2 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -2500,7 +2500,9 @@ NODE_OPTIONS='--require "./a.js"' node --require "./b.js" node --require "./a.js" --require "./b.js" ``` -Node.js options that are allowed are: +Node.js options that are allowed are in the following list. If an option +supports both --XX and --no-XX variants, they are both supported but only +the default is included in the list below. From d3521556df4e0fcb2eb5689c51cd4d593bbf3cba Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Thu, 14 Mar 2024 10:53:14 -0400 Subject: [PATCH 2/2] Update doc/api/cli.md Co-authored-by: Antoine du Hamel --- doc/api/cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 5b5ab36ca0a4e2..89d6fa650a1e5a 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -2502,7 +2502,7 @@ node --require "./a.js" --require "./b.js" Node.js options that are allowed are in the following list. If an option supports both --XX and --no-XX variants, they are both supported but only -the default is included in the list below. +one is included in the list below.