Lines Matching refs:optarg
139 if (strcmp(optarg, "be") == 0 ||
140 strcmp(optarg, "4321") == 0 ||
141 strcmp(optarg, "big") == 0) {
145 } else if (strcmp(optarg, "le") == 0 ||
146 strcmp(optarg, "1234") == 0 ||
147 strcmp(optarg, "little") == 0) {
152 warnx("Invalid endian `%s'.", optarg);
158 len = strlen(optarg) - 1;
159 if (optarg[len] == '%') {
160 optarg[len] = '\0';
163 optarg, 0, 99);
167 optarg, 0, LLONG_MAX);
172 debug = parse_debug(optarg);
176 len = strlen(optarg) - 1;
177 if (optarg[len] == '%') {
178 optarg[len] = '\0';
181 optarg, 0, 99);
185 optarg, 0, LLONG_MAX);
190 specfile = optarg;
199 strsuftoll("minimum size", optarg, 1LL, LLONG_MAX);
203 if (! setup_getid(optarg))
206 optarg);
211 strsuftoll("maximum size", optarg, 1LL, LLONG_MAX);
216 strsuftoll("offset", optarg, 0LL, LLONG_MAX);
223 while ((p = strsep(&optarg, ",")) != NULL) {
238 strsuftoll("size", optarg, 1LL, LLONG_MAX);
243 (int)strsuftoll("sector size", optarg,
252 if ((fstype = get_fstype(optarg)) == NULL)
254 "Unknown fs type `%s'.", optarg);
259 if (get_tstamp(optarg, &stampst) == -1)
261 "Cannot get timestamp from `%s'", optarg);