Home | History | Annotate | Download | only in api

Lines Matching defs:argv

156 static bool parseCommandLine(int argc, char* argv[], unsigned int* maxApiLevel, bool* forVerification,
159 if (argv[i][0] == '-') {
160 if (argv[i][1] == 'v') {
164 *maxApiLevel = strtol(argv[i], &end, 10);
166 cerr << "Error. Can't parse the version number" << argv[i] << "\n";
173 } else if (argv[i][1] == 'H') {
176 cerr << "Unrecognized flag %s\n" << argv[i] << "\n";
180 specFileNames->push_back(argv[i]);
190 int main(int argc, char* argv[]) {
195 if (!parseCommandLine(argc, argv, &maxApiLevel, &forVerification, &specFileNames)) {