From 39c61367a7d027de619aa89a43097d74ac5bc6bf Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 6 Oct 2009 16:28:52 +0200 Subject: [PATCH] Only arguments before -- should be passed to V8. --- src/node.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.cc b/src/node.cc index 8ccbcd5c33..b86c04c5eb 100644 --- a/src/node.cc +++ b/src/node.cc @@ -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.