Browse Source

add command line options

v0.7.4-release
Ryan 16 years ago
parent
commit
559c1987be
  1. 2
      node.cc

2
node.cc

@ -131,6 +131,8 @@ OnFatalError (const char* location, const char* message)
int int
main (int argc, char *argv[]) main (int argc, char *argv[])
{ {
V8::SetFlagsFromCommandLine(&argc, argv, true);
map<string, string> options; map<string, string> options;
string file; string file;
ParseOptions(argc, argv, options, &file); ParseOptions(argc, argv, options, &file);

Loading…
Cancel
Save