summaryrefslogtreecommitdiff
path: root/doc/api/cli.md
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2019-10-19 16:16:40 +0300
committerRich Trott <rtrott@gmail.com>2019-10-22 13:38:56 -0500
commit0ecd3c68452ff9b9709cdaf5b11b48e36c685a8e (patch)
tree81772638441148abfe235b72c796ece06c8d136e /doc/api/cli.md
parent1070153cf6da6eb95644799008240825432b07e3 (diff)
downloadandroid-node-v8-0ecd3c68452ff9b9709cdaf5b11b48e36c685a8e.tar.gz
android-node-v8-0ecd3c68452ff9b9709cdaf5b11b48e36c685a8e.tar.bz2
android-node-v8-0ecd3c68452ff9b9709cdaf5b11b48e36c685a8e.zip
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>
Diffstat (limited to 'doc/api/cli.md')
-rw-r--r--doc/api/cli.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md
index e17ef97824..ed7fcdcc9e 100644
--- a/doc/api/cli.md
+++ b/doc/api/cli.md
@@ -237,7 +237,8 @@ added: v12.0.0
-->
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
$ 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`.
-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`
<!-- YAML
added: v0.11.15