@@ -604,19 +604,23 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
604604 " Start the V8 heap profiler on start up, and write the heap profile "
605605 " to disk before exit. If --heap-prof-dir is not specified, write "
606606 " the profile to the current working directory." ,
607- &EnvironmentOptions::heap_prof);
607+ &EnvironmentOptions::heap_prof,
608+ kAllowedInEnvvar );
608609 AddOption (" --heap-prof-name" ,
609610 " specified file name of the V8 heap profile generated with "
610611 " --heap-prof" ,
611- &EnvironmentOptions::heap_prof_name);
612+ &EnvironmentOptions::heap_prof_name,
613+ kAllowedInEnvvar );
612614 AddOption (" --heap-prof-dir" ,
613615 " Directory where the V8 heap profiles generated by --heap-prof "
614616 " will be placed." ,
615- &EnvironmentOptions::heap_prof_dir);
617+ &EnvironmentOptions::heap_prof_dir,
618+ kAllowedInEnvvar );
616619 AddOption (" --heap-prof-interval" ,
617620 " specified sampling interval in bytes for the V8 heap "
618621 " profile generated with --heap-prof. (default: 512 * 1024)" ,
619- &EnvironmentOptions::heap_prof_interval);
622+ &EnvironmentOptions::heap_prof_interval,
623+ kAllowedInEnvvar );
620624#endif // HAVE_INSPECTOR
621625 AddOption (" --max-http-header-size" ,
622626 " set the maximum size of HTTP headers (default: 16384 (16KB))" ,
0 commit comments