vmspawn: fix incorrect handling of -M in getopt_long

This commit is contained in:
Sam Leonard
2024-02-08 16:04:42 +01:00
committed by Lennart Poettering
parent a759d3239d
commit 1ad9752260
+1 -1
View File
@@ -150,7 +150,7 @@ static int parse_argv(int argc, char *argv[]) {
assert(argv);
optind = 0;
while ((c = getopt_long(argc, argv, "+hi:Mq", options, NULL)) >= 0)
while ((c = getopt_long(argc, argv, "+hi:M:q", options, NULL)) >= 0)
switch (c) {
case 'h':
return help();