diff options
author | krank2me <alejok6@gmail.com> | 2020-08-31 02:28:41 +0300 |
---|---|---|
committer | Gireesh Punathil <gpunathi@in.ibm.com> | 2020-11-05 10:33:59 +0300 |
commit | eb24573987b27ad516b5bc86bfb320660540e2bf (patch) | |
tree | 566d3685a9f8934b5fa8b295ccb7fa8fe080084d /src/node_options.cc | |
parent | 540b79605b7c383a6343afdce6322bc256c3023e (diff) |
doc: option --prof documentation help added
PR-URL: https://github.com/nodejs/node/pull/34991
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Diffstat (limited to 'src/node_options.cc')
-rw-r--r-- | src/node_options.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/node_options.cc b/src/node_options.cc index 04893fee408..e90dcd93231 100644 --- a/src/node_options.cc +++ b/src/node_options.cc @@ -395,6 +395,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); |