[pve-devel] [PATCH common] pod: skip aliases in generate_property_text
Wolfgang Bumiller
w.bumiller at proxmox.com
Tue Mar 8 11:56:40 CET 2016
These are special and have no other properties to access.
---
src/PVE/PodParser.pm | 1 +
1 file changed, 1 insertion(+)
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;
--
2.1.4
More information about the pve-devel
mailing list