aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGabriel Schulhof <gabriel.schulhof@intel.com>2017-08-09 09:58:00 +0300
committerGabriel Schulhof <gabriel.schulhof@intel.com>2017-08-13 21:21:39 +0300
commit6fe72c82d283fead3694368218263ab6bca6572b (patch)
tree936243233560a431b50400715c877e933b78b7b5 /doc
parent7294f57c0dc6151acba9c536e4a596b0ae3c0427 (diff)
downloadandroid-node-v8-6fe72c82d283fead3694368218263ab6bca6572b.tar.gz
android-node-v8-6fe72c82d283fead3694368218263ab6bca6572b.tar.bz2
android-node-v8-6fe72c82d283fead3694368218263ab6bca6572b.zip
src: mention that node options are space-separated
The documentation does not mention that the value of NODE_OPTIONS is a space-separated list. PR-URL: https://github.com/nodejs/node/pull/14709 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cli.md8
-rw-r--r--doc/node.18
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md
index 6665941480..8b9edea537 100644
--- a/doc/api/cli.md
+++ b/doc/api/cli.md
@@ -440,10 +440,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 c97a9d812d..cf79ce33f9 100644
--- a/doc/node.1
+++ b/doc/node.1
@@ -282,10 +282,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]