X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=src%2FPVE%2FRESTHandler.pm;h=4b67c614f336c1fc52c1a70d0234847163aa6b95;hp=5e46dc3fb85097bb5c24193055a2aecf6aedf219;hb=25d9bda94127b1a91181cd80bb9948093dea389b;hpb=a007a5bc4bb6d43a6e3f33baa642f17f4e91e15c diff --git a/src/PVE/RESTHandler.pm b/src/PVE/RESTHandler.pm index 5e46dc3..4b67c61 100644 --- a/src/PVE/RESTHandler.pm +++ b/src/PVE/RESTHandler.pm @@ -443,7 +443,7 @@ my $get_property_description = sub { if ($fileparams && $type eq 'string') { foreach my $elem (@$fileparams) { if ($name eq $elem) { - $type = 'filepath'; + $type = ''; last; } } @@ -466,7 +466,7 @@ my $get_property_description = sub { $res .= "`$type` " if $type; if (defined(my $dv = $phash->{default})) { - $res .= "(default=`$dv`)"; + $res .= "('default =' `$dv`)"; } if ($style eq 'config-sub') {