Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Exit after printing v8 help
V8 es not exit the process after handling --help anymore:
https://chromium-review.googlesource.com/c/v8/v8/+/2276276
  • Loading branch information
ulan committed Jun 30, 2020
commit 071b31808e7af2d2fc0b573afc70769e7514bcb1
3 changes: 1 addition & 2 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -939,9 +939,8 @@ void Init(int* argc,
}

if (per_process::cli_options->print_v8_help) {
// Doesn't return.
V8::SetFlagsFromString("--help", static_cast<size_t>(6));
UNREACHABLE();
exit(0);
}

*argc = argv_.size();
Expand Down