Lines Matching refs:argv
894 int main(int argc, char **argv) in main() argument
909 const char *appName = argv[0]; in main()
920 if (argv[i][0] == '-') { in main()
921 prev = argv[i]; in main()
922 if (!strcmp(argv[i], "-v")) in main()
924 else if (!strcmp(argv[i], "-r")) in main()
926 else if (!strcmp(argv[i], "-s")) in main()
928 else if (!strcmp(argv[i], "-a")) in main()
930 else if (!strcmp(argv[i], "-c")) in main()
932 else if (!strcmp(argv[i], "-e")) in main()
934 else if (!strcmp(argv[i], "-k")) in main()
936 else if (!strcmp(argv[i], "-n")) in main()
938 else if (!strcmp(argv[i], "-i")) in main()
940 else if (!strcmp(argv[i], "-f")) in main()
943 fatalUsage(appName, "unknown argument", argv[i]); in main()
946 uint64_t tmp = strtoull(argv[i], &end, 16); in main()
951 uint32_t tmp = strtoul(argv[i], &end, 16); in main()
956 *strArg = argv[i]; in main()
960 posArg[posArgCnt++] = argv[i]; in main()
962 fatalUsage(appName, "too many positional arguments", argv[i]); in main()