From 6259c2d231961629a2d06595d21573db984ce636 Mon Sep 17 00:00:00 2001 From: krank2me Date: Sun, 30 Aug 2020 18:28:41 -0500 Subject: [PATCH] doc: option --prof documentation help added MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/34991 Reviewed-By: Anna Henningsen Reviewed-By: Gireesh Punathil Reviewed-By: Juan José Arboleda --- src/node_options.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/node_options.cc b/src/node_options.cc index 87f547da1de1c4..e7dc220f5c3fca 100644 --- a/src/node_options.cc +++ b/src/node_options.cc @@ -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);