vmspawn: fix incorrect handling of -M in getopt_long
This commit is contained in:
committed by
Lennart Poettering
parent
a759d3239d
commit
1ad9752260
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user