| 736 | } |
| 737 | |
| 738 | static int has_subcommands(const struct option *options) |
| 739 | { |
| 740 | for (; options->type != OPTION_END; options++) |
| 741 | if (options->type == OPTION_SUBCOMMAND) |
| 742 | return 1; |
| 743 | return 0; |
| 744 | } |
| 745 | |
| 746 | static void parse_options_start_1(struct parse_opt_ctx_t *ctx, |
| 747 | int argc, const char **argv, const char *prefix, |
no outgoing calls
no test coverage detected