39
39
.Op Ar options
40
40
.Op Ar v8-options
41
41
.Op Fl e Ar string | Ar script.js | Fl
42
- .Op Fl \ -
42
+ .Op Fl -
43
43
.Op Ar arguments ...
44
44
.
45
45
.Nm node
@@ -61,11 +61,11 @@ without arguments to start a REPL.
61
61
.
62
62
.Sh OPTIONS
63
63
.Bl -tag -width 6n
64
- .It Sy \ -
64
+ .It Sy -
65
65
Alias for stdin, analogous to the use of - in other command-line utilities.
66
66
The executed script is read from stdin, and remaining arguments are passed to the script.
67
67
.
68
- .It Fl \ -
68
+ .It Fl -
69
69
Indicate the end of node options.
70
70
Pass the rest of the arguments to the script.
71
71
.Pp
@@ -80,15 +80,15 @@ Enable FIPS-compliant crypto at startup.
80
80
Requires Node.js to be built with
81
81
.Sy ./configure --openssl-fips .
82
82
.
83
- .It Fl \ -experimental-modules
83
+ .It Fl -experimental-modules
84
84
Enable experimental ES module support and caching modules.
85
85
.
86
- .It Fl \ -experimental-repl-await
86
+ .It Fl -experimental-repl-await
87
87
Enable experimental top-level
88
88
.Sy await
89
89
keyword support in REPL.
90
90
.
91
- .It Fl \ -experimental-vm-modules
91
+ .It Fl -experimental-vm-modules
92
92
Enable experimental ES module support in VM module.
93
93
.
94
94
.It Fl -force-fips
@@ -122,7 +122,8 @@ V8 Inspector integration allows attaching Chrome DevTools and IDEs to Node.js in
122
122
It uses the Chrome DevTools Protocol.
123
123
.
124
124
.It Fl -napi-modules
125
- This option is a no-op. It is kept for compatibility.
125
+ This option is a no-op.
126
+ It is kept for compatibility.
126
127
.
127
128
.It Fl -no-deprecation
128
129
Silence deprecation warnings.
@@ -145,7 +146,7 @@ Emit pending deprecation warnings.
145
146
.It Fl -preserve-symlinks
146
147
Instructs the module loader to preserve symbolic links when resolving and caching modules other than the main module.
147
148
.
148
- .It F1 -preserve-symlinks-main
149
+ .It Fl -preserve-symlinks-main
149
150
Instructs the module loader to preserve symbolic links when resolving and caching the main module.
150
151
.
151
152
.It Fl -prof-process
@@ -173,7 +174,10 @@ A comma-separated list of categories that should be traced when trace event trac
173
174
.
174
175
.It Fl -trace-event-file-pattern Ar pattern
175
176
Template string specifying the filepath for the trace event data, it
176
- supports \fB ${rotation} \fR and \fB ${pid} \fR .
177
+ supports
178
+ .Sy ${rotation}
179
+ and
180
+ .Sy ${pid} .
177
181
.
178
182
.It Fl -trace-events-enabled
179
183
Enable the collection of trace event tracing information.
@@ -187,7 +191,7 @@ Print stack traces for process warnings (including deprecations).
187
191
.It Fl -track-heap-objects
188
192
Track heap object allocations for heap snapshots.
189
193
.
190
- .It Fl -use-bundled \ -ca, Fl -use-openssl-ca
194
+ .It Fl -use-bundled-ca , Fl -use-openssl-ca
191
195
Use bundled Mozilla CA store as supplied by current Node.js version or use OpenSSL's default CA store.
192
196
The default store is selectable at build-time.
193
197
.Pp
206
210
.It Fl -v8-options
207
211
Print V8 command-line options.
208
212
.Pp
209
- Note: V8 options allow words to be separated by both dashes (\fB - \fR ) or underscores (\fB _ \fR ).
213
+ Note: V8 options allow words to be separated by both dashes
214
+ .Sy ( - )
215
+ or underscores
216
+ .Sy ( _ ) .
210
217
.Pp
211
218
For example,
212
219
.Fl -stack-trace-limit
0 commit comments