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:
Matthias Bolte 2010-07-23 18:41:42 +02:00
parent adde0e2cf6
commit d01340e796

View File

@ -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':