diff --git a/src/node_options.cc b/src/node_options.cc index 671cdc591e0053..8bf1115296af79 100644 --- a/src/node_options.cc +++ b/src/node_options.cc @@ -400,6 +400,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);