]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/RESTHandler.pm
schema: add bwlimit standard option and format
[pve-common.git] / src / PVE / RESTHandler.pm
index d700976082655f3c4f9078fd78ef3793b88a01c4..5c1d419d2eebb89374603ea6fbe81de7c0690ecf 100644 (file)
@@ -431,7 +431,7 @@ my $get_property_description = sub {
        } elsif ($style eq 'config-sub') {
            $res .= "`$name`=";
        } elsif ($style eq 'arg') {
-           $res .= "`-$name` ";
+           $res .= "`--$name` ";
        } elsif ($style eq 'fixed') {
            $res .= "`<$name>`: ";
        } else {
@@ -578,7 +578,7 @@ sub usage_str {
 
        if (!$prop->{$k}->{optional}) {
            $args .= " " if $args;
-           $args .= "-$base <$type_text>"
+           $args .= "--$base <$type_text>"
        }
     }