Lines Matching refs:mainopt
634 option_t *mainopt = opt; local
639 while (mainopt->flags & OPT_PRIOSUB)
640 --mainopt;
641 if (mainopt->flags & OPT_PRIO) {
642 if (prio < mainopt->priority) {
644 if (prio == OPRIO_CMDLINE && mainopt->priority > OPRIO_ROOT) {
646 opt->name, optopt, mainopt->source);
651 if (prio > OPRIO_ROOT && mainopt->priority == OPRIO_CMDLINE)
792 mainopt->source = option_source;
793 mainopt->priority = prio;
794 mainopt->winner = opt - mainopt;
867 print_option(opt, mainopt, printer, arg) in print_option() argument
868 option_t *opt, *mainopt; in print_option()
964 printer(arg, "\t\t# (from %s)\n", mainopt->source);