Lines Matching refs:option
16 * (at your option) any later version.
106 static struct option original_opts[] = {
147 static struct option *opts = original_opts;
151 * given commands make an option legal, that option is legal (applies to
494 * fact that if an option is legal with *any* command given, it is
508 "option for this command\n",
519 "Illegal option `-%c' with this command\n",
525 opt2char(int option)
528 for (ptr = optflags; option > 1; option >>= 1, ptr++);
534 cmd2char(int option)
537 for (ptr = cmdflags; option > 1; option >>= 1, ptr++);
555 check_inverse(const char option[], int *invert, int *optind, int argc)
557 if (option && strcmp(option, "!") == 0) {
1032 set_option(unsigned int *options, unsigned int option, u_int8_t *invflg,
1035 if (*options & option)
1037 opt2char(option));
1038 *options |= option;
1042 for (i = 0; 1 << i != option; i++);
1047 opt2char(option));
1107 static struct option *
1108 merge_options(struct option *oldopts, const struct option *newopts,
1112 struct option *merge;
1120 merge = malloc(sizeof(struct option) * (num_new + num_old + 1));
1121 memcpy(merge, oldopts, num_old * sizeof(struct option));
1127 memset(merge + num_old + num_new, 0, sizeof(struct option));
2295 case 1: /* non option */
2333 * it's not an option of an explicitly loaded