Lines Matching refs:options
70 const optspec_t *options; /* List of options. */
71 struct _aux *aux; /* Auxiliary data about options. */
72 int optc; /* Number of options. */
97 return s->options[i].opt_fmt +
112 return s->options[i].r_val;
126 return s->options[i].desc ? s->options[i].desc : "";
165 scanopt_t *scanopt_init (options, argc, argv, flags)
166 const optspec_t *options;
175 s->options = options;
187 while (options[s->optc].opt_fmt
188 || options[s->optc].r_val || options[s->optc].desc)
199 opt = s->options + i;
423 /* Sloppy hack: We iterate twice. The first time we print short and long options.
424 The second time we print those lines that have ONLY long options. */
449 nchars+=fprintf(fp,"%s",s->options[i].opt_fmt);\
546 opt = s->options + opt_offset;
643 * Long options must match a non-ambiguous prefix, or exact match.
644 * Short options must be exact.
667 (char *) (s->options[i].opt_fmt +
687 s->options[i].r_val) nmatch--;
688 lastr_val = s->options[i].r_val;
806 * the s->options array (and corresponding aux array).
815 optp = s->options + opt_offset;