| 70 | } |
| 71 | |
| 72 | const char *next_lopt(const char *p, unsigned *i, unsigned *len) |
| 73 | { |
| 74 | for (p = next_opt(p, i, len); p; p = next_opt(p, i, len)) { |
| 75 | if (p[0] == '-') { |
| 76 | /* Skip leading "-" */ |
| 77 | (*len)--; |
| 78 | p++; |
| 79 | break; |
| 80 | } |
| 81 | } |
| 82 | return p; |
| 83 | } |
| 84 | |
| 85 | const char *first_sopt(unsigned *i) |
| 86 | { |