Skip to content

Commit e0118f3

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 <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 9e10e1a commit e0118f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/node.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ Print stack traces for process warnings (including deprecations).
454454
.It Fl -track-heap-objects
455455
Track heap object allocations for heap snapshots.
456456
.
457-
.It Fl --unhandled-rejections=mode
457+
.It Fl -unhandled-rejections=mode
458458
Define the behavior for unhandled rejections. Can be one of `strict` (raise an error), `warn` (enforce warnings) or `none` (silence warnings).
459459
.
460460
.It Fl -use-bundled-ca , Fl -use-openssl-ca

0 commit comments

Comments
 (0)