build a vector of argv options the program path argv[0] is excluded
| 573 | // build a vector of argv options |
| 574 | // the program path argv[0] is excluded |
| 575 | vector<string> ASConsole::getArgvOptions(int argc, char** argv) const |
| 576 | { |
| 577 | vector<string> argvOptions; |
| 578 | for (int i = 1; i < argc; i++) |
| 579 | { |
| 580 | argvOptions.push_back(string(argv[i])); |
| 581 | } |
| 582 | return argvOptions; |
| 583 | } |
| 584 | |
| 585 | // for unit testing |
| 586 | vector<bool> ASConsole::getExcludeHitsVector() |