Skip to content

Commit dc67fec

Browse files
rhcarvalhotargos
authored andcommitted
doc: remove extraneous dash from flag prefix
When rendered by `man node`, all flags have a dash prepended to them. Prior to this change, the man page would incorrectly read `---unhandled-rejections=mode` The three dashes is invalid syntax and rejected by the `node` command. PR-URL: #38532 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 7938af6 commit dc67fec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/node.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ Print stack traces for process warnings (including deprecations).
442442
.It Fl -track-heap-objects
443443
Track heap object allocations for heap snapshots.
444444
.
445-
.It Fl --unhandled-rejections=mode
445+
.It Fl -unhandled-rejections=mode
446446
Define the behavior for unhandled rejections. Can be one of `strict` (raise an error), `warn` (enforce warnings) or `none` (silence warnings).
447447
.
448448
.It Fl -use-bundled-ca , Fl -use-openssl-ca

0 commit comments

Comments
 (0)