diff --git a/doc/api/cli.md b/doc/api/cli.md index 13c0b102837af3..39172931a19bd6 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`