Fix --v8-options command line argument.

This commit is contained in:
Ryan Dahl 2009-10-07 16:01:03 +02:00
parent b76d853f0d
commit b404996cf3

View File

@ -457,6 +457,7 @@ static void ParseArgs(int *argc, char **argv) {
exit(0); exit(0);
} else if (strcmp(arg, "--v8-options") == 0) { } else if (strcmp(arg, "--v8-options") == 0) {
argv[i] = reinterpret_cast<const char*>("--help"); argv[i] = reinterpret_cast<const char*>("--help");
dash_dash_index = i+1;
} }
} }
} }