Home
last modified time | relevance | path

Searched refs:long_options (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.4.0/components/console/argtable3/
Dargtable3.c454 const struct option *long_options, int *idx, int short_too) in parse_long_options() argument
472 for (i = 0; long_options[i].name; i++) { in parse_long_options()
474 if (strncmp(current_argv, long_options[i].name, in parse_long_options()
478 if (strlen(long_options[i].name) == current_argv_len) { in parse_long_options()
502 if (long_options[match].has_arg == no_argument in parse_long_options()
510 if (long_options[match].flag == NULL) in parse_long_options()
511 optopt = long_options[match].val; in parse_long_options()
516 if (long_options[match].has_arg == required_argument || in parse_long_options()
517 long_options[match].has_arg == optional_argument) { in parse_long_options()
520 else if (long_options[match].has_arg == in parse_long_options()
[all …]