Skip to content

Commit

Permalink
Only arguments before -- should be passed to V8.
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Oct 6, 2009
1 parent 2b994d9 commit 39c6136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ static void ParseArgs(int *argc, char **argv) {

int main(int argc, char *argv[]) {
node::ParseArgs(&argc, argv);
V8::SetFlagsFromCommandLine(&argc, argv, false);
V8::SetFlagsFromCommandLine(&node::dash_dash_index, argv, false);

evcom_ignore_sigpipe();
ev_default_loop(EVFLAG_AUTO); // initialize the default ev loop.
Expand Down

0 comments on commit 39c6136

Please sign in to comment.