doc: fix linter warnings and typos in manpage

Refs: https://github.com/nodejs/node/pull/19911

PR-URL: https://github.com/nodejs/node/pull/20741
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Alhadis 2018-05-15 15:40:52 +10:00 committed by Rich Trott
parent e6b7f0ef0c
commit c8e7f8f77e

View File

@ -39,7 +39,7 @@
.Op Ar options .Op Ar options
.Op Ar v8-options .Op Ar v8-options
.Op Fl e Ar string | Ar script.js | Fl .Op Fl e Ar string | Ar script.js | Fl
.Op Fl \- .Op Fl -
.Op Ar arguments ... .Op Ar arguments ...
. .
.Nm node .Nm node
@ -61,11 +61,11 @@ without arguments to start a REPL.
. .
.Sh OPTIONS .Sh OPTIONS
.Bl -tag -width 6n .Bl -tag -width 6n
.It Sy \- .It Sy -
Alias for stdin, analogous to the use of - in other command-line utilities. Alias for stdin, analogous to the use of - in other command-line utilities.
The executed script is read from stdin, and remaining arguments are passed to the script. The executed script is read from stdin, and remaining arguments are passed to the script.
. .
.It Fl \- .It Fl -
Indicate the end of node options. Indicate the end of node options.
Pass the rest of the arguments to the script. Pass the rest of the arguments to the script.
.Pp .Pp
@ -80,15 +80,15 @@ Enable FIPS-compliant crypto at startup.
Requires Node.js to be built with Requires Node.js to be built with
.Sy ./configure --openssl-fips . .Sy ./configure --openssl-fips .
. .
.It Fl \-experimental-modules .It Fl -experimental-modules
Enable experimental ES module support and caching modules. Enable experimental ES module support and caching modules.
. .
.It Fl \-experimental-repl-await .It Fl -experimental-repl-await
Enable experimental top-level Enable experimental top-level
.Sy await .Sy await
keyword support in REPL. keyword support in REPL.
. .
.It Fl \-experimental-vm-modules .It Fl -experimental-vm-modules
Enable experimental ES module support in VM module. Enable experimental ES module support in VM module.
. .
.It Fl -force-fips .It Fl -force-fips
@ -122,7 +122,8 @@ V8 Inspector integration allows attaching Chrome DevTools and IDEs to Node.js in
It uses the Chrome DevTools Protocol. It uses the Chrome DevTools Protocol.
. .
.It Fl -napi-modules .It Fl -napi-modules
This option is a no-op. It is kept for compatibility. This option is a no-op.
It is kept for compatibility.
. .
.It Fl -no-deprecation .It Fl -no-deprecation
Silence deprecation warnings. Silence deprecation warnings.
@ -145,7 +146,7 @@ Emit pending deprecation warnings.
.It Fl -preserve-symlinks .It Fl -preserve-symlinks
Instructs the module loader to preserve symbolic links when resolving and caching modules other than the main module. Instructs the module loader to preserve symbolic links when resolving and caching modules other than the main module.
. .
.It F1 -preserve-symlinks-main .It Fl -preserve-symlinks-main
Instructs the module loader to preserve symbolic links when resolving and caching the main module. Instructs the module loader to preserve symbolic links when resolving and caching the main module.
. .
.It Fl -prof-process .It Fl -prof-process
@ -173,7 +174,10 @@ A comma-separated list of categories that should be traced when trace event trac
. .
.It Fl -trace-event-file-pattern Ar pattern .It Fl -trace-event-file-pattern Ar pattern
Template string specifying the filepath for the trace event data, it Template string specifying the filepath for the trace event data, it
supports \fB${rotation}\fR and \fB${pid}\fR. supports
.Sy ${rotation}
and
.Sy ${pid} .
. .
.It Fl -trace-events-enabled .It Fl -trace-events-enabled
Enable the collection of trace event tracing information. Enable the collection of trace event tracing information.
@ -187,7 +191,7 @@ Print stack traces for process warnings (including deprecations).
.It Fl -track-heap-objects .It Fl -track-heap-objects
Track heap object allocations for heap snapshots. Track heap object allocations for heap snapshots.
. .
.It Fl -use-bundled\-ca, Fl -use-openssl-ca .It Fl -use-bundled-ca , Fl -use-openssl-ca
Use bundled Mozilla CA store as supplied by current Node.js version or use OpenSSL's default CA store. Use bundled Mozilla CA store as supplied by current Node.js version or use OpenSSL's default CA store.
The default store is selectable at build-time. The default store is selectable at build-time.
.Pp .Pp
@ -206,7 +210,10 @@ and
.It Fl -v8-options .It Fl -v8-options
Print V8 command-line options. Print V8 command-line options.
.Pp .Pp
Note: V8 options allow words to be separated by both dashes (\fB-\fR) or underscores (\fB_\fR). Note: V8 options allow words to be separated by both dashes
.Sy ( - )
or underscores
.Sy ( _ ) .
.Pp .Pp
For example, For example,
.Fl -stack-trace-limit .Fl -stack-trace-limit