mirror of
https://git.proxmox.com/git/pmg-docs
synced 2025-06-04 10:34:47 +00:00
gen-pmg.conf.5-opts: whitespace cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
312595900a
commit
2b6070e788
@ -1,8 +1,10 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/perl
|
||||||
|
|
||||||
use lib '.';
|
use lib '.';
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
|
||||||
use PVE::RESTHandler;
|
use PVE::RESTHandler;
|
||||||
|
|
||||||
use Data::Dumper;
|
use Data::Dumper;
|
||||||
@ -56,7 +58,7 @@ my $key_groups = {
|
|||||||
relay => 1,
|
relay => 1,
|
||||||
relaynomx => 1,
|
relaynomx => 1,
|
||||||
relayport => 1,
|
relayport => 1,
|
||||||
relayprotocol => 1,
|
relayprotocol => 1,
|
||||||
smarthost => 1,
|
smarthost => 1,
|
||||||
smarthostport => 1,
|
smarthostport => 1,
|
||||||
}],
|
}],
|
||||||
@ -121,7 +123,7 @@ foreach my $section (@$types) {
|
|||||||
return 1 if $select_keys && !$select_keys->{$key};
|
return 1 if $select_keys && !$select_keys->{$key};
|
||||||
return 0;
|
return 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
print PVE::RESTHandler::dump_properties(
|
print PVE::RESTHandler::dump_properties(
|
||||||
$properties, 'asciidoc', 'config', $filter);
|
$properties, 'asciidoc', 'config', $filter);
|
||||||
}
|
}
|
||||||
@ -129,5 +131,5 @@ foreach my $section (@$types) {
|
|||||||
if (defined($single_section)) {
|
if (defined($single_section)) {
|
||||||
die "no such section '$single_section'" if !$found;
|
die "no such section '$single_section'" if !$found;
|
||||||
}
|
}
|
||||||
|
|
||||||
exit(0);
|
exit(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user