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 $cleanup = undef;
|
||||||
my $DEBUG = 0;
|
my $DEBUG = 0;
|
||||||
|
|
||||||
my $helpstring = "To override default values, set them as named parameters:
|
my $helpstring = "usage: $0 [OPTIONS]
|
||||||
|
|
||||||
--pool pool name, default: ${pool}
|
Known options are:
|
||||||
--use-existing use existing pool, default: 0, needs --pool set
|
|
||||||
--namespace rbd namespace, default: ${namespace}
|
--pool <name> pool name, default: ${pool}
|
||||||
--vmid VMID of the test VM, default: ${vmid}
|
--use-existing use existing pool, default: 0, needs --pool set
|
||||||
--cleanup Remove the storage definitions, namespaces and VMs
|
--namespace <name> rbd namespace, default: ${namespace}
|
||||||
-d, --debug Enable debug output
|
--vmid <id> VMID of the test VM, default: ${vmid}
|
||||||
-h, --help Print this help message
|
--cleanup Remove the storage definitions, namespaces and VM afterwards
|
||||||
|
-d, --debug Enable debug output
|
||||||
|
-h, --help Print this help message
|
||||||
";
|
";
|
||||||
|
|
||||||
GetOptions (
|
GetOptions (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user