enhance indent

This commit is contained in:
garnier-quentin 2019-03-08 15:10:36 +01:00
parent 7d1b9f199a
commit d93eadeb05
3 changed files with 33 additions and 34 deletions

View File

@ -204,8 +204,7 @@ sub new {
bless $self, $class;
$self->{version} = '1.0';
$options{options}->add_options(arguments =>
{
$options{options}->add_options(arguments => {
"hostname:s" => { name => 'hostname' },
"remote" => { name => 'remote' },
"ssh-option:s@" => { name => 'ssh_option' },
@ -237,8 +236,10 @@ sub check_options {
my ($self, %options) = @_;
$self->SUPER::check_options(%options);
$self->change_macros(macros => ['ok_status', 'warning_status', 'critical_status', 'warning_long',
'critical_long', 'warning_frozen', 'critical_frozen']);
$self->change_macros(macros => [
'ok_status', 'warning_status', 'critical_status', 'warning_long',
'critical_long', 'warning_frozen', 'critical_frozen']
);
}
sub policy_long_output {

View File

@ -120,8 +120,7 @@ sub new {
bless $self, $class;
$self->{version} = '1.0';
$options{options}->add_options(arguments =>
{
$options{options}->add_options(arguments => {
});
return $self;

View File

@ -79,8 +79,7 @@ sub new {
bless $self, $class;
$self->{version} = '1.0';
$options{options}->add_options(arguments =>
{
$options{options}->add_options(arguments => {
"filter-name:s" => { name => 'filter_name' },
});