File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -500,8 +500,12 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
500
500
&EnvironmentOptions::trace_warnings,
501
501
kAllowedInEnvironment );
502
502
AddOption (" --unhandled-rejections" ,
503
- " define unhandled rejections behavior. Options are 'strict' (raise "
504
- " an error), 'warn' (enforce warnings) or 'none' (silence warnings)" ,
503
+ " define unhandled rejections behavior. Options are 'strict' "
504
+ " (always raise an error), 'throw' (raise an error unless "
505
+ " 'unhandledRejection' hook is set), 'warn' (log a warning), 'none' "
506
+ " (silence warnings), 'warn-with-error-code' (log a warning and set "
507
+ " exit code 1 unless 'unhandledRejection' hook is set). (default: "
508
+ " throw)" ,
505
509
&EnvironmentOptions::unhandled_rejections,
506
510
kAllowedInEnvironment );
507
511
AddOption (" --verify-base-objects" ,
You can’t perform that action at this time.
0 commit comments