Changes in / [9757d9:62680e]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/builder.cpp
r9757d9 r62680e 2502 2502 char **Arguments = NULL; 2503 2503 int ArgcSize = 0; 2504 int ExitFlag = 0; 2504 2505 bool ArgumentsCopied = false; 2505 2506 … … 2529 2530 char ConfigFileName[MAXSTRINGSIZE]; 2530 2531 // 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); 2532 2533 // copy all remaining arguments to a new argv 2533 2534 Arguments = Malloc<char *>(ArgcList.size(), "main - **Arguments"); … … 2572 2573 } 2573 2574 2574 return ( 0);2575 return (ExitFlag == 1 ? 0 : ExitFlag); 2575 2576 } 2576 2577
Note:
See TracChangeset
for help on using the changeset viewer.