mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 09:23:44 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user