Lines Matching refs:optarg
284 optarg = argv[optind++];
285 if (optind > argc || optarg[0] == '-') {
297 if (sscanf(optarg, "%" PRIi64 "%1[kmgKMG]", &size, ext) < 1) {
298 fprintf(stderr, "Can't parse size arg: %s\n", optarg);
366 if (!strcmp(optarg, "v"))
368 else if (!strcmp(optarg, "g"))
370 else if (!strcmp(optarg, "vg"))
373 fprintf(stderr, "Invalid domain: %s\n", optarg);
389 if (sscanf(optarg, "%u", &from) != 1) {
390 fprintf(stderr, "Can't parse from buffer: %s\n", optarg);
394 if (sscanf(optarg, "%u", &to) != 1) {
395 fprintf(stderr, "Can't parse to buffer: %s\n", optarg);