From: Dietmar Maurer Date: Mon, 5 Sep 2016 08:22:51 +0000 (+0200) Subject: add missing parameter descriptions X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=commitdiff_plain;h=e50429af2cab704c2c1d55009a29e3054d075627 add missing parameter descriptions --- diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm index b52d324..22bf61d 100644 --- a/src/PVE/Firewall.pm +++ b/src/PVE/Firewall.pm @@ -1240,6 +1240,7 @@ my $rule_properties = { }, digest => get_standard_option('pve-config-digest'), type => { + description => "Rule type.", type => 'string', optional => 1, enum => ['in', 'out', 'group'], @@ -1253,6 +1254,7 @@ my $rule_properties = { minLength => 2, }, macro => { + description => "Use predefined standard macro.", type => 'string', optional => 1, maxLength => 128, @@ -1277,6 +1279,7 @@ my $rule_properties = { optional => 1, }, enable => { + description => "Flag to enable/disable a rule.", type => 'integer', minimum => 0, optional => 1, @@ -1292,6 +1295,7 @@ my $rule_properties = { optional => 1, }, comment => { + description => "Descriptive comment.", type => 'string', optional => 1, },