Lines Matching refs:option
16 * (at your option) any later version.
107 static struct option original_opts[] = {
146 static struct option *opts = original_opts;
150 * given commands make an option legal, that option is legal (applies to
409 * fact that if an option is legal with *any* command given, it is
423 "option for this command\n",
434 "Illegal option `-%c' with this command\n",
440 opt2char(int option)
443 for (ptr = optflags; option > 1; option >>= 1, ptr++);
449 cmd2char(int option)
452 for (ptr = cmdflags; option > 1; option >>= 1, ptr++);
470 check_inverse(const char option[], int *invert, int *optind, int argc)
472 if (option && strcmp(option, "!") == 0) {
1004 set_option(unsigned int *options, unsigned int option, u_int8_t *invflg,
1007 if (*options & option)
1009 opt2char(option));
1010 *options |= option;
1014 for (i = 0; 1 << i != option; i++);
1019 opt2char(option));
1079 static struct option *
1080 merge_options(struct option *oldopts, const struct option *newopts,
1084 struct option *merge;
1092 merge = malloc(sizeof(struct option) * (num_new + num_old + 1));
1093 memcpy(merge, oldopts, num_old * sizeof(struct option));
1099 memset(merge + num_old + num_new, 0, sizeof(struct option));
2206 case 1: /* non option */
2244 * it's not an option of an explicitly loaded