Lines Matching defs:opts
87 static int parseopts(const char *opts, int *howto);
452 parseopts(const char *opts, int *howto)
456 opts++; /* skip - */
457 while (*opts && *opts != ' ') {
459 BOOT_FLAG(*opts, r);
461 printf("-%c: unknown flag\n", *opts);
466 opts++;
476 char *opts = NULL;
490 opts = arg;
495 opts = gettrailer(arg);
496 if (*opts == '\0') {
497 opts = NULL;
498 } else if (*opts != '-') {
508 if (opts) {
509 if (parseopts(opts, howto) == 0) {