Skip to content

Commit 870c320

Browse files
vsemozhetbyttargos
authored andcommitted
doc: join parts of disrupt section in cli.md
Also eliminate some redundancy. PR-URL: #30038 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Yongsheng Zhang <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 21a43bd commit 870c320

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/api/cli.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,8 @@ added: v12.0.0
244244
-->
245245

246246
Enables a signal handler that causes the Node.js process to write a heap dump
247-
when the specified signal is received.
247+
when the specified signal is received. `signal` must be a valid signal name.
248+
Disabled by default.
248249

249250
```console
250251
$ node --heapsnapshot-signal=SIGUSR2 index.js &
@@ -307,9 +308,6 @@ added: v12.4.0
307308
308309
Specify the file name of the heap profile generated by `--heap-prof`.
309310

310-
Generates a heap snapshot each time the process receives the specified signal.
311-
`signal` must be a valid signal name. Disabled by default.
312-
313311
### `--http-parser=library`
314312
<!-- YAML
315313
added: v11.4.0

0 commit comments

Comments
 (0)