diff --git a/doc/api/cli.md b/doc/api/cli.md index 25c0f9c5e2d291..9d8ab13dfd301c 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -244,7 +244,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 & @@ -307,9 +308,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. - ### `--http-parser=library`