Skip to content

Commit

Permalink
doc: join parts of disrupt section in cli.md
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
vsemozhetbyt authored and MylesBorins committed Oct 23, 2019
1 parent f3712df commit 35bffcd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 &
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 35bffcd

Please sign in to comment.