]> git.proxmox.com Git - pve-storage.git/commitdiff
tests: rbd ns: avoid underscore in CLI param name
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 12 Apr 2021 12:42:38 +0000 (14:42 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 12 Apr 2021 12:42:38 +0000 (14:42 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
test/rbd_namespace.pl

index c6a9468a6022be7efd65f847a60b640278fa8577..5798bf167908718766dd260255d75ac5620ee072 100755 (executable)
@@ -36,7 +36,7 @@ my $DEBUG = 0;
 my $helpstring = "To override default values, set them as named parameters:
 
 --pool         pool name, default: ${pool}
---use_existing  use existing pool, default: 0, needs --pool set
+--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
@@ -44,7 +44,7 @@ my $helpstring = "To override default values, set them as named parameters:
 
 GetOptions (
        "pool=s" => \$pool,
-       "use_existing" => \$use_existing,
+       "use-existing" => \$use_existing,
        "namespace=s" => \$namespace,
        "vmid=i" => \$vmid,
        "help" => \$showhelp,