Lines Matching defs:options
68 const optspec_t *options; /* List of options. */
69 struct _aux *aux; /* Auxiliary data about options. */
70 int optc; /* Number of options. */
95 return s->options[i].opt_fmt +
110 return s->options[i].r_val;
124 return s->options[i].desc ? s->options[i].desc : "";
163 scanopt_t *scanopt_init (options, argc, argv, flags)
164 const optspec_t *options;
173 s->options = options;
185 while (options[s->optc].opt_fmt
186 || options[s->optc].r_val || options[s->optc].desc)
197 opt = s->options + i;
421 /* Sloppy hack: We iterate twice. The first time we print short and long options.
422 The second time we print those lines that have ONLY long options. */
447 nchars+=fprintf(fp,"%s",s->options[i].opt_fmt);\
544 opt = s->options + opt_offset;
641 * Long options must match a non-ambiguous prefix, or exact match.
642 * Short options must be exact.
665 (char *) (s->options[i].opt_fmt +
685 s->options[i].r_val) nmatch--;
686 lastr_val = s->options[i].r_val;
804 * the s->options array (and corresponding aux array).
813 optp = s->options + opt_offset;