From 3fcaf7b900f4b76141355ee12595e908c2252707 Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Wed, 13 Mar 2024 19:38:02 +0000 Subject: [PATCH] doc: clarify what is supported in NODE_OPTIONS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Dawson PR-URL: https://github.com/nodejs/node/pull/52076 Reviewed-By: Antoine du Hamel Reviewed-By: Luigi Pinca Reviewed-By: Ulises Gascón --- 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 0f08c81794b5b2..8f67381f039838 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -2531,7 +2531,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 +one is included in the list below.