| 47 | } |
| 48 | |
| 49 | static int bootstrap_find_arg(int argc, char *const argv[], const char *expected) { |
| 50 | for (int i = 1; argv && i < argc; i++) { |
| 51 | if (bootstrap_arg_is(argv[i], expected)) { |
| 52 | return i; |
| 53 | } |
| 54 | } |
| 55 | return -1; |
| 56 | } |
| 57 | |
| 58 | static bool bootstrap_has_help_after(int argc, char *const argv[], int start) { |
| 59 | for (int i = start; argv && i < argc; i++) { |
no test coverage detected