fix: parsing continue with short options
This commit is contained in:
@ -210,7 +210,7 @@ struct option_lst *parse_options(int ac, char *const *av)
|
|||||||
switch (c) {
|
switch (c) {
|
||||||
case 'F':
|
case 'F':
|
||||||
add_option(&head, FL_FAST, optarg);
|
add_option(&head, FL_FAST, optarg);
|
||||||
break;
|
continue;
|
||||||
case '?':
|
case '?':
|
||||||
return NULL;
|
return NULL;
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user