test: rbd: indendation cleanup, allow -d short-opt for debug

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2021-04-12 15:26:59 +02:00
parent 0d7c9ca188
commit 33191d3266

View File

@ -40,16 +40,18 @@ my $helpstring = "To override default values, set them as named parameters:
--namespace rbd namespace, default: ${namespace}
--vmid VMID of the test VM, default: ${vmid}
--cleanup Remove the storage definitions, namespaces and VMs
--debug Enable debug output\n";
-d, --debug Enable debug output
-h, --help Print this help message
";
GetOptions (
"pool=s" => \$pool,
"use-existing" => \$use_existing,
"namespace=s" => \$namespace,
"vmid=i" => \$vmid,
"h|help" => \$showhelp,
"cleanup" => \$cleanup,
"debug" => \$DEBUG,
"pool=s" => \$pool,
"use-existing" => \$use_existing,
"namespace=s" => \$namespace,
"vmid=i" => \$vmid,
"h|help" => \$showhelp,
"cleanup" => \$cleanup,
"d|debug" => \$DEBUG,
) or die ($helpstring);
if ($showhelp) {