From: Wolfgang Bumiller Date: Tue, 8 Mar 2016 10:56:40 +0000 (+0100) Subject: pod: skip aliases in generate_property_text X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=5a917b429a265762b712eaedd9dc955b55b47734 pod: skip aliases in generate_property_text These are special and have no other properties to access. --- diff --git a/src/PVE/PodParser.pm b/src/PVE/PodParser.pm index 8ad0598..380ce6e 100644 --- a/src/PVE/PodParser.pm +++ b/src/PVE/PodParser.pm @@ -125,6 +125,7 @@ sub generate_property_text { my $data = ''; foreach my $key (sort keys %$schema) { my $d = $schema->{$key}; + next if $d->{alias}; my $desc = $d->{description}; my $typetext = schema_get_type_text($d); $desc = 'No description available' if !$desc;