Changes in src/CommandLineParser.cpp [192f6e:4f7f34e]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CommandLineParser.cpp
r192f6e r4f7f34e 41 41 void CommandLineParser::Parse() 42 42 { 43 po::store(po::command_line_parser(argc,argv).options(cmdline_options).options(visible). run(), vm);43 po::store(po::command_line_parser(argc,argv).options(cmdline_options).options(visible).positional(inputfile).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 function 60 SequenceOfActions.push_back("input"); 58 61 for (int i=1;i<argc;i++) { 59 62 (cout << Verbose(1) << "Checking on " << argv[i] << endl);
Note:
See TracChangeset
for help on using the changeset viewer.