diff --git a/src/node.cc b/src/node.cc index cfca8a87a5..dd9d64ca82 100644 --- a/src/node.cc +++ b/src/node.cc @@ -457,6 +457,7 @@ static void ParseArgs(int *argc, char **argv) { exit(0); } else if (strcmp(arg, "--v8-options") == 0) { argv[i] = reinterpret_cast("--help"); + dash_dash_index = i+1; } } }