Lines Matching defs:opts
295 static int parseopts(const char *opts, int *howto);
455 parseopts(const char *opts, int *howto)
459 opts++; /* skip - */
460 while (*opts && *opts != ' ') {
462 BOOT_FLAG(*opts, r);
464 printf("-%c: unknown flag\n", *opts);
469 opts++;
479 char *opts = NULL;
493 opts = arg;
498 opts = gettrailer(arg);
499 if (opts == NULL || *opts == '\0') {
500 opts = NULL;
501 } else if (*opts != '-') {
511 if (opts) {
512 if (parseopts(opts, howto) == 0) {