Lines Matching refs:argv
421 int main(int argc, char **argv) in main() argument
427 const char *appName = argv[0]; in main()
447 if (argv[i][0] == '-') { in main()
448 prev = argv[i]; in main()
449 if (!strcmp(argv[i], "-v")) in main()
451 else if (!strcmp(argv[i], "-s")) in main()
453 else if (!strcmp(argv[i], "-t")) in main()
455 else if (!strcmp(argv[i], "-b")) in main()
457 else if (!strcmp(argv[i], "-e")) in main()
459 else if (!strcmp(argv[i], "-m")) in main()
461 else if (!strcmp(argv[i], "-r")) in main()
464 fatalUsage(appName, "unknown argument", argv[i]); in main()
467 *strArg = argv[i]; in main()
471 posArg[posArgCnt++] = argv[i]; in main()
473 fatalUsage(appName, "too many positional arguments", argv[i]); in main()