Lines Matching defs:arg
152 const char* arg = argv[i];
153 if (arg[0] == '-') {
155 if (strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0) {
159 } else if (strcmp(arg, "--list") == 0) {
161 } else if (strcmp(arg, "--case") == 0) {
163 fprintf(stderr, "Error: missing arg to %s\n", arg);
167 } else if (strcmp(arg, "--test") == 0) {
169 fprintf(stderr, "Error: missing arg to %s\n", arg);
174 } else if ((strlen(arg) == 3) && (arg[0] == 'v') && (arg[1] == '=')) {
175 unittest_set_verbosity_level(arg[2] - '0');