| 59 | } |
| 60 | |
| 61 | static int bootstrap_find_arg(int argc, char *const argv[], const char *expected) { |
| 62 | for (int i = 1; argv && i < argc; i++) { |
| 63 | if (bootstrap_arg_is(argv[i], expected)) { |
| 64 | return i; |
| 65 | } |
| 66 | } |
| 67 | return -1; |
| 68 | } |
| 69 | |
| 70 | static bool bootstrap_has_help_after(int argc, char *const argv[], int start) { |
| 71 | for (int i = start; argv && i < argc; i++) { |
no test coverage detected