Skip to content

Commit dfa4029

Browse files
committed
cli: clarify --cpu-prof-name allowed values
Refs: #57418
1 parent c8b9d38 commit dfa4029

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/cli.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,8 @@ in the current working directory.
495495
If `--cpu-prof-name` is not specified, the generated profile is
496496
named `CPU.${yyyymmdd}.${hhmmss}.${pid}.${tid}.${seq}.cpuprofile`.
497497

498+
If `--cpu-prof-name` is specified, the provided value will be used as-is; patterns such as `${hhmmss}` or `${pid}` are not supported.
499+
498500
```console
499501
$ node --cpu-prof index.js
500502
$ ls *.cpuprofile

0 commit comments

Comments
 (0)