Lines Matching refs:argv
545 int main(int argc, char **argv) in main() argument
558 const char *appName = argv[0]; in main()
568 if (argv[i][0] == '-') { in main()
569 prev = argv[i]; in main()
570 if (!strcmp(argv[i], "-v")) in main()
572 else if (!strcmp(argv[i], "-r")) in main()
574 else if (!strcmp(argv[i], "-a")) in main()
576 else if (!strcmp(argv[i], "-k")) in main()
578 else if (!strcmp(argv[i], "-n")) in main()
580 else if (!strcmp(argv[i], "-i")) in main()
582 else if (!strcmp(argv[i], "-f")) in main()
585 fatalUsage(appName, "unknown argument", argv[i]); in main()
588 uint64_t tmp = strtoull(argv[i], &end, 16); in main()
593 uint32_t tmp = strtoul(argv[i], &end, 16); in main()
598 *strArg = argv[i]; in main()
602 posArg[posArgCnt++] = argv[i]; in main()
604 fatalUsage(appName, "too many positional arguments", argv[i]); in main()