diff --git a/doc/api/cli.md b/doc/api/cli.md index a1976dbecf5739..773e742966f330 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -433,10 +433,10 @@ When set to `1`, process warnings are silenced. added: v8.0.0 --> -`options...` are interpreted as if they had been specified on the command line -before the actual command line (so they can be overridden). Node will exit with -an error if an option that is not allowed in the environment is used, such as -`-p` or a script file. +A space-separated list of command line options. `options...` are interpreted as +if they had been specified on the command line before the actual command line +(so they can be overridden). Node will exit with an error if an option that is +not allowed in the environment is used, such as `-p` or a script file. Node options that are allowed are: - `--enable-fips` diff --git a/doc/node.1 b/doc/node.1 index ca142a2cab152b..753bf0f78d0b87 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -278,10 +278,10 @@ When set to \fI1\fR, process warnings are silenced. .TP .BR NODE_OPTIONS =\fIoptions...\fR -\fBoptions...\fR are interpreted as if they had been specified on the command -line before the actual command line (so they can be overridden). Node will exit -with an error if an option that is not allowed in the environment is used, such -as \fB-p\fR or a script file. +A space-separated list of command line options. \fBoptions...\fR are interpreted +as if they had been specified on the command line before the actual command line +(so they can be overridden). Node will exit with an error if an option that is +not allowed in the environment is used, such as \fB-p\fR or a script file. .TP .BR NODE_PATH =\fIpath\fR[:\fI...\fR] diff --git a/src/node.cc b/src/node.cc index a80cf4452cceb0..551f9fbf396949 100644 --- a/src/node.cc +++ b/src/node.cc @@ -3713,6 +3713,7 @@ static void PrintHelp() { "NODE_NO_WARNINGS set to 1 to silence process warnings\n" #if !defined(NODE_WITHOUT_NODE_OPTIONS) "NODE_OPTIONS set CLI options in the environment\n" + " via a space-separated list\n" #endif #ifdef _WIN32 "NODE_PATH ';'-separated list of directories\n"