doc: join parts of disrupt section in cli.md

Also eliminate some redundancy.

PR-URL: https://github.com/nodejs/node/pull/30038
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Vse Mozhet Byt 2019-10-19 16:16:40 +03:00 committed by Rich Trott
parent 1070153cf6
commit 0ecd3c6845

View File

@ -237,7 +237,8 @@ added: v12.0.0
--> -->
Enables a signal handler that causes the Node.js process to write a heap dump Enables a signal handler that causes the Node.js process to write a heap dump
when the specified signal is received. when the specified signal is received. `signal` must be a valid signal name.
Disabled by default.
```console ```console
$ node --heapsnapshot-signal=SIGUSR2 index.js & $ node --heapsnapshot-signal=SIGUSR2 index.js &
@ -300,9 +301,6 @@ added: v12.4.0
Specify the file name of the heap profile generated by `--heap-prof`. Specify the file name of the heap profile generated by `--heap-prof`.
Generates a heap snapshot each time the process receives the specified signal.
`signal` must be a valid signal name. Disabled by default.
### `--icu-data-dir=file` ### `--icu-data-dir=file`
<!-- YAML <!-- YAML
added: v0.11.15 added: v0.11.15