Skip to content

Commit 3a45c7b

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 01d0109 commit 3a45c7b

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
@@ -237,7 +237,8 @@ added: v12.0.0
237237
-->
238238

239239
Enables a signal handler that causes the Node.js process to write a heap dump
240-
when the specified signal is received.
240+
when the specified signal is received. `signal` must be a valid signal name.
241+
Disabled by default.
241242

242243
```console
243244
$ node --heapsnapshot-signal=SIGUSR2 index.js &
@@ -300,9 +301,6 @@ added: v12.4.0
300301
301302
Specify the file name of the heap profile generated by `--heap-prof`.
302303

303-
Generates a heap snapshot each time the process receives the specified signal.
304-
`signal` must be a valid signal name. Disabled by default.
305-
306304
### `--http-parser=library`
307305
<!-- YAML
308306
added: v11.4.0

0 commit comments

Comments
 (0)