Lines Matching refs:argv
633 int main(int argc, char **argv) in main() argument
647 const char *appName = argv[0]; in main()
657 if (argv[i][0] == '-') { in main()
658 prev = argv[i]; in main()
659 if (!strcmp(argv[i], "-v")) in main()
661 else if (!strcmp(argv[i], "-r")) in main()
663 else if (!strcmp(argv[i], "-a")) in main()
665 else if (!strcmp(argv[i], "-e")) in main()
667 else if (!strcmp(argv[i], "-k")) in main()
669 else if (!strcmp(argv[i], "-n")) in main()
671 else if (!strcmp(argv[i], "-i")) in main()
673 else if (!strcmp(argv[i], "-f")) in main()
676 fatalUsage(appName, "unknown argument", argv[i]); in main()
679 uint64_t tmp = strtoull(argv[i], &end, 16); in main()
684 uint32_t tmp = strtoul(argv[i], &end, 16); in main()
689 *strArg = argv[i]; in main()
693 posArg[posArgCnt++] = argv[i]; in main()
695 fatalUsage(appName, "too many positional arguments", argv[i]); in main()