mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
virt-aa-helper: Make getopt accept the p option
Commit 68719c4bddb85fbcc931a5b7d99ac7c8a0af09b0 added the p option to control disk format probing, but it wasn't added to the getopt_long optstring parameter. Add the p option to the getopt_long optstring parameter.
This commit is contained in:
parent
adde0e2cf6
commit
d01340e796
@ -964,7 +964,7 @@ vahParseArgv(vahControl * ctl, int argc, char **argv)
|
||||
{0, 0, 0, 0}
|
||||
};
|
||||
|
||||
while ((arg = getopt_long(argc, argv, "acdDhrRH:b:u:f:", opt,
|
||||
while ((arg = getopt_long(argc, argv, "acdDhrRH:b:u:p:f:", opt,
|
||||
&idx)) != -1) {
|
||||
switch (arg) {
|
||||
case 'a':
|
||||
|
Loading…
x
Reference in New Issue
Block a user