Fix mkinit option processing.

util/mkinit.c:
    The -l option does not take an argument. An incorrect edit in
    commit fcb8ffe9 meant that it was expecting one.
This commit is contained in:
Julien Fischer
2022-03-26 00:20:39 +11:00
parent e9348cc2e9
commit d01dc2faed

View File

@@ -815,7 +815,7 @@ parse_options(int argc, char *argv[])
String_List *tmp_slist;
int seen_f_option = 0;
while ((c = getopt(argc, argv, "A:c:f:g:iI:l:o:r:tw:xX:ks")) != EOF) {
while ((c = getopt(argc, argv, "A:c:f:g:iI:lo:r:tw:xX:ks")) != EOF) {
switch (c) {
case 'A':
// Add the argument to the end of the list of always executed