Skip to content

Commit 6259c2d

Browse files
Krank2meBethGriggs
authored andcommitted
doc: option --prof documentation help added
PR-URL: #34991 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]>
1 parent 88aa4e0 commit 6259c2d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/node_options.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,9 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
383383
"preserve symbolic links when resolving the main module",
384384
&EnvironmentOptions::preserve_symlinks_main,
385385
kAllowedInEnvironment);
386+
AddOption("--prof",
387+
"Generate V8 profiler output.",
388+
V8Option{});
386389
AddOption("--prof-process",
387390
"process V8 profiler output generated using --prof",
388391
&EnvironmentOptions::prof_process);

0 commit comments

Comments
 (0)