1
- # Command line options
1
+ # Command- line options
2
2
3
3
<!-- introduced_in=v5.9.1-->
4
4
<!-- type=misc-->
@@ -43,7 +43,7 @@ environment variable.
43
43
added: v8.0.0
44
44
-->
45
45
46
- Alias for stdin. Analogous to the use of ` - ` in other command line utilities,
46
+ Alias for stdin. Analogous to the use of ` - ` in other command- line utilities,
47
47
meaning that the script is read from stdin, and the rest of the options
48
48
are passed to that script.
49
49
@@ -128,7 +128,7 @@ Specify the directory where the CPU profiles generated by `--cpu-prof` will
128
128
be placed.
129
129
130
130
The default value is controlled by the
131
- [ --diagnostic-dir] ( #cli_diagnostic_dir_directory ) command line option.
131
+ [ --diagnostic-dir] ( #cli_diagnostic_dir_directory ) command- line option.
132
132
133
133
### ` --cpu-prof-interval `
134
134
<!-- YAML
@@ -209,7 +209,7 @@ changes:
209
209
-->
210
210
211
211
Experimental ` AbortController ` and ` AbortSignal ` support is enabled by default.
212
- Use of this command line flag is no longer required.
212
+ Use of this command- line flag is no longer required.
213
213
214
214
### ` --experimental-import-meta-resolve `
215
215
<!-- YAML
@@ -383,7 +383,7 @@ Specify the directory where the heap profiles generated by `--heap-prof` will
383
383
be placed.
384
384
385
385
The default value is controlled by the
386
- [ --diagnostic-dir] ( #cli_diagnostic_dir_directory ) command line option.
386
+ [ --diagnostic-dir] ( #cli_diagnostic_dir_directory ) command- line option.
387
387
388
388
### ` --heap-prof-interval `
389
389
<!-- YAML
@@ -562,7 +562,7 @@ Emit pending deprecation warnings.
562
562
563
563
Pending deprecations are generally identical to a runtime deprecation with the
564
564
notable exception that they are turned * off* by default and will not be emitted
565
- unless either the ` --pending-deprecation ` command line flag, or the
565
+ unless either the ` --pending-deprecation ` command- line flag, or the
566
566
` NODE_PENDING_DEPRECATION=1 ` environment variable, is set. Pending deprecations
567
567
are used to provide a kind of selective "early warning" mechanism that
568
568
developers may leverage to detect deprecated API usage.
@@ -608,7 +608,7 @@ be thrown if `moduleA` attempts to require `moduleB` as a peer dependency:
608
608
└── package.json
609
609
```
610
610
611
- The ` --preserve-symlinks ` command line flag instructs Node.js to use the
611
+ The ` --preserve-symlinks ` command- line flag instructs Node.js to use the
612
612
symlink path for modules as opposed to the real path, allowing symbolically
613
613
linked peer dependencies to be found.
614
614
@@ -667,7 +667,7 @@ warning will be written to stderr instead.
667
667
668
668
The ` file ` name may be an absolute path. If it is not, the default directory it
669
669
will be written to is controlled by the
670
- [ --diagnostic-dir] ( #cli_diagnostic_dir_directory ) command line option.
670
+ [ --diagnostic-dir] ( #cli_diagnostic_dir_directory ) command- line option.
671
671
672
672
### ` --report-compact `
673
673
<!-- YAML
@@ -1066,7 +1066,7 @@ The following values are valid for `mode`:
1066
1066
added: v0.1.3
1067
1067
-->
1068
1068
1069
- Print V8 command line options.
1069
+ Print V8 command- line options.
1070
1070
1071
1071
### ` --v8-pool-size=num `
1072
1072
<!-- YAML
@@ -1123,7 +1123,7 @@ and `"` are usable.
1123
1123
added: v0.1.3
1124
1124
-->
1125
1125
1126
- Print node command line options.
1126
+ Print node command- line options.
1127
1127
The output of this option is less detailed than this document.
1128
1128
1129
1129
### ` -i ` , ` --interactive `
@@ -1218,8 +1218,8 @@ When set to `1`, process warnings are silenced.
1218
1218
added: v8.0.0
1219
1219
-->
1220
1220
1221
- A space-separated list of command line options. ` options... ` are interpreted
1222
- before command line options, so command line options will override or
1221
+ A space-separated list of command- line options. ` options... ` are interpreted
1222
+ before command- line options, so command- line options will override or
1223
1223
compound after anything in ` options... ` . Node.js will exit with an error if
1224
1224
an option that is not allowed in the environment is used, such as ` -p ` or a
1225
1225
script file.
@@ -1230,7 +1230,7 @@ If an option value contains a space, it can be escaped using double quotes:
1230
1230
NODE_OPTIONS=' --require "./my path/file.js"'
1231
1231
```
1232
1232
1233
- A singleton flag passed as a command line option will override the same flag
1233
+ A singleton flag passed as a command- line option will override the same flag
1234
1234
passed into ` NODE_OPTIONS ` :
1235
1235
1236
1236
``` bash
@@ -1239,7 +1239,7 @@ NODE_OPTIONS='--inspect=localhost:4444' node --inspect=localhost:5555
1239
1239
```
1240
1240
1241
1241
A flag that can be passed multiple times will be treated as if its
1242
- ` NODE_OPTIONS ` instances were passed first, and then its command line
1242
+ ` NODE_OPTIONS ` instances were passed first, and then its command- line
1243
1243
instances afterwards:
1244
1244
1245
1245
``` bash
@@ -1365,7 +1365,7 @@ When set to `1`, emit pending deprecation warnings.
1365
1365
1366
1366
Pending deprecations are generally identical to a runtime deprecation with the
1367
1367
notable exception that they are turned * off* by default and will not be emitted
1368
- unless either the ` --pending-deprecation ` command line flag, or the
1368
+ unless either the ` --pending-deprecation ` command- line flag, or the
1369
1369
` NODE_PENDING_DEPRECATION=1 ` environment variable, is set. Pending deprecations
1370
1370
are used to provide a kind of selective "early warning" mechanism that
1371
1371
developers may leverage to detect deprecated API usage.
@@ -1513,7 +1513,7 @@ Load an OpenSSL configuration file on startup. Among other uses, this can be
1513
1513
used to enable FIPS-compliant crypto if Node.js is built with `./configure
1514
1514
--openssl-fips`.
1515
1515
1516
- If the [ ` --openssl-config ` ] [ ] command line option is used, the environment
1516
+ If the [ ` --openssl-config ` ] [ ] command- line option is used, the environment
1517
1517
variable is ignored.
1518
1518
1519
1519
### ` SSL_CERT_DIR=dir `
0 commit comments