MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / getArgvOptions

Method getArgvOptions

other_src/astyle/src/astyle_main.cpp:569–577  ·  view source on GitHub ↗

build a vector of argv options the program path argv[0] is excluded

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected