Lines Matching refs:optarg
82 params.drive_size = strtoull(optarg, &e, 0); in cmd_find()
83 if (!*optarg || (e && *e)) in cmd_find()
85 Error("invalid argument to -%c: \"%s\"\n", c, optarg); in cmd_find()
100 params.label = optarg; in cmd_find()
104 if (CGPT_OK != SupportedType(optarg, ¶ms.type_guid) && in cmd_find()
105 CGPT_OK != StrToGuid(optarg, ¶ms.type_guid)) { in cmd_find()
106 Error("invalid argument to -%c: %s\n", c, optarg); in cmd_find()
112 if (CGPT_OK != StrToGuid(optarg, ¶ms.unique_guid)) { in cmd_find()
113 Error("invalid argument to -%c: %s\n", c, optarg); in cmd_find()
118 params.matchbuf = ReadFile(optarg, ¶ms.matchlen); in cmd_find()
120 Error("Unable to read from %s\n", optarg); in cmd_find()
132 params.matchoffset = strtoull(optarg, &e, 0); in cmd_find()
133 if (!*optarg || (e && *e)) { in cmd_find()
134 Error("invalid argument to -%c: \"%s\"\n", c, optarg); in cmd_find()