mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2025-02-26 21:57:31 +03:00
test: rbd: improve usage output
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
23ba4ac2c6
commit
0d8ed0a313
@ -33,15 +33,17 @@ my $vmid = 999999;
|
||||
my $cleanup = undef;
|
||||
my $DEBUG = 0;
|
||||
|
||||
my $helpstring = "To override default values, set them as named parameters:
|
||||
my $helpstring = "usage: $0 [OPTIONS]
|
||||
|
||||
--pool pool name, default: ${pool}
|
||||
--use-existing use existing pool, default: 0, needs --pool set
|
||||
--namespace rbd namespace, default: ${namespace}
|
||||
--vmid VMID of the test VM, default: ${vmid}
|
||||
--cleanup Remove the storage definitions, namespaces and VMs
|
||||
-d, --debug Enable debug output
|
||||
-h, --help Print this help message
|
||||
Known options are:
|
||||
|
||||
--pool <name> pool name, default: ${pool}
|
||||
--use-existing use existing pool, default: 0, needs --pool set
|
||||
--namespace <name> rbd namespace, default: ${namespace}
|
||||
--vmid <id> VMID of the test VM, default: ${vmid}
|
||||
--cleanup Remove the storage definitions, namespaces and VM afterwards
|
||||
-d, --debug Enable debug output
|
||||
-h, --help Print this help message
|
||||
";
|
||||
|
||||
GetOptions (
|
||||
|
Loading…
x
Reference in New Issue
Block a user