Changes in src/CommandLineParser.cpp [4f7f34e:192f6e]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CommandLineParser.cpp
r4f7f34e r192f6e 41 41 void CommandLineParser::Parse() 42 42 { 43 po::store(po::command_line_parser(argc,argv).options(cmdline_options).options(visible). positional(inputfile).run(), vm);43 po::store(po::command_line_parser(argc,argv).options(cmdline_options).options(visible).run(), vm); 44 44 ifstream input; 45 45 input.open("example.cfg"); … … 56 56 { 57 57 // go through all arguments 58 cout << Verbose(1) << "By default putting input into the sequence." << endl;59 // TODO: This may be bad, because const string "input" is destroyed at end of function60 SequenceOfActions.push_back("input");61 58 for (int i=1;i<argc;i++) { 62 59 (cout << Verbose(1) << "Checking on " << argv[i] << endl);
Note:
See TracChangeset
for help on using the changeset viewer.