| 101 | |
| 102 | |
| 103 | static my_bool |
| 104 | get_one_option(int optid, const struct my_option *opt __attribute__((unused)), |
| 105 | char *argument __attribute__((unused))) |
| 106 | { |
| 107 | switch(optid) { |
| 108 | case 'V': |
| 109 | print_version(); |
| 110 | exit(0); |
| 111 | case '?': |
| 112 | usage(); |
| 113 | exit(0); |
| 114 | } |
| 115 | return 0; |
| 116 | } |
| 117 | |
| 118 | |
| 119 | static int parse_args(int argc, char **argv) |
nothing calls this directly
no test coverage detected