Changes in / [9757d9:62680e]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/builder.cpp

    r9757d9 r62680e  
    25022502    char **Arguments = NULL;
    25032503    int ArgcSize = 0;
     2504    int ExitFlag = 0;
    25042505    bool ArgumentsCopied = false;
    25052506
     
    25292530      char ConfigFileName[MAXSTRINGSIZE];
    25302531      // handle arguments by ParseCommandLineOptions()
    2531       ParseCommandLineOptions(argc,argv,World::getInstance().getMolecules(),World::getInstance().getPeriode(),*World::getInstance().getConfig(), (char *&)ConfigFileName, ArgcList);
     2532      ExitFlag = ParseCommandLineOptions(argc,argv,World::getInstance().getMolecules(),World::getInstance().getPeriode(),*World::getInstance().getConfig(), (char *&)ConfigFileName, ArgcList);
    25322533      // copy all remaining arguments to a new argv
    25332534      Arguments = Malloc<char *>(ArgcList.size(), "main - **Arguments");
     
    25722573  }
    25732574
    2574   return (0);
     2575  return (ExitFlag == 1 ? 0 : ExitFlag);
    25752576}
    25762577
Note: See TracChangeset for help on using the changeset viewer.