Lines Matching refs:mainopt
660 option_t *mainopt = opt; local
665 while (mainopt->flags & OPT_PRIOSUB)
666 --mainopt;
667 if (mainopt->flags & OPT_PRIO) {
668 if (prio < mainopt->priority) {
670 if (prio == OPRIO_CMDLINE && mainopt->priority > OPRIO_ROOT) {
672 opt->name, optopt, mainopt->source);
677 if (prio > OPRIO_ROOT && mainopt->priority == OPRIO_CMDLINE)
829 mainopt->source = option_source;
830 mainopt->priority = prio;
831 mainopt->winner = opt - mainopt;
904 print_option(opt, mainopt, printer, arg) in print_option() argument
905 option_t *opt, *mainopt; in print_option()
998 printer(arg, "\t\t# (from %s)\n", mainopt->source);