mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
virt-aa-helper: Make getopt accept the p option
Commit 68719c4bdd
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}
|
{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) {
|
&idx)) != -1) {
|
||||||
switch (arg) {
|
switch (arg) {
|
||||||
case 'a':
|
case 'a':
|
||||||
|
Loading…
Reference in New Issue
Block a user