We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fbceb3 commit 8d9ccd9Copy full SHA for 8d9ccd9
cli.c
@@ -143,13 +143,11 @@ struct cli_options *cli_options_parse(int argc, char *argv[]) {
143
break;
144
case 'h':
145
print_usage(argv[0]);
146
- cli_options_destroy(res);
147
exit(EXIT_SUCCESS);
148
return NULL;
149
150
case 'v':
151
print_version();
152
153
154
155
@@ -233,9 +231,7 @@ struct cli_options *cli_options_parse(int argc, char *argv[]) {
233
231
return res;
234
232
error:
235
236
237
exit(EXIT_FAILURE);
238
- return NULL;
239
}
240
241
void cli_options_destroy(struct cli_options *x) {
0 commit comments