Skip to content

Commit

Permalink
doc: option --prof documentation help added
Browse files Browse the repository at this point in the history
PR-URL: #34991
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Juan José Arboleda <[email protected]>
  • Loading branch information
Krank2me authored and BethGriggs committed Dec 15, 2020
1 parent 88aa4e0 commit 6259c2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/node_options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,9 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
"preserve symbolic links when resolving the main module",
&EnvironmentOptions::preserve_symlinks_main,
kAllowedInEnvironment);
AddOption("--prof",
"Generate V8 profiler output.",
V8Option{});
AddOption("--prof-process",
"process V8 profiler output generated using --prof",
&EnvironmentOptions::prof_process);
Expand Down

0 comments on commit 6259c2d

Please sign in to comment.