| 1302 | } |
| 1303 | |
| 1304 | static const struct option *find_option_by_long_name(const struct option *opts, |
| 1305 | const char *long_name) |
| 1306 | { |
| 1307 | for (; opts->type != OPTION_END; opts++) { |
| 1308 | if (opts->long_name && !strcmp(opts->long_name, long_name)) |
| 1309 | return opts; |
| 1310 | } |
| 1311 | return NULL; |
| 1312 | } |
| 1313 | |
| 1314 | static enum parse_opt_result usage_with_options_internal(struct parse_opt_ctx_t *ctx, |
| 1315 | const char * const *usagestr, |
no outgoing calls
no test coverage detected