Searched refs:long_options (Results 1 – 2 of 2) sorted by relevance
172 const struct option *long_options, int *idx, int short_too) in parse_long_options() argument190 for (i = 0; long_options[i].name; i++) { in parse_long_options()192 if (strncmp(current_argv, long_options[i].name, in parse_long_options()196 if (strlen(long_options[i].name) == current_argv_len) { in parse_long_options()221 if (long_options[match].has_arg == no_argument in parse_long_options()230 if (long_options[match].flag == NULL) in parse_long_options()231 optopt = long_options[match].val; in parse_long_options()236 if (long_options[match].has_arg == required_argument || in parse_long_options()237 long_options[match].has_arg == optional_argument) { in parse_long_options()240 else if (long_options[match].has_arg == in parse_long_options()[all …]
39 static struct option long_options[] = { variable59 struct option *opt = long_options; in print_help()85 long_options, in get_options()