enhance indent
This commit is contained in:
parent
05bf963825
commit
b5411e0c04
|
@ -204,8 +204,7 @@ sub new {
|
||||||
bless $self, $class;
|
bless $self, $class;
|
||||||
|
|
||||||
$self->{version} = '1.0';
|
$self->{version} = '1.0';
|
||||||
$options{options}->add_options(arguments =>
|
$options{options}->add_options(arguments => {
|
||||||
{
|
|
||||||
"hostname:s" => { name => 'hostname' },
|
"hostname:s" => { name => 'hostname' },
|
||||||
"remote" => { name => 'remote' },
|
"remote" => { name => 'remote' },
|
||||||
"ssh-option:s@" => { name => 'ssh_option' },
|
"ssh-option:s@" => { name => 'ssh_option' },
|
||||||
|
@ -237,8 +236,10 @@ sub check_options {
|
||||||
my ($self, %options) = @_;
|
my ($self, %options) = @_;
|
||||||
$self->SUPER::check_options(%options);
|
$self->SUPER::check_options(%options);
|
||||||
|
|
||||||
$self->change_macros(macros => ['ok_status', 'warning_status', 'critical_status', 'warning_long',
|
$self->change_macros(macros => [
|
||||||
'critical_long', 'warning_frozen', 'critical_frozen']);
|
'ok_status', 'warning_status', 'critical_status', 'warning_long',
|
||||||
|
'critical_long', 'warning_frozen', 'critical_frozen']
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub policy_long_output {
|
sub policy_long_output {
|
||||||
|
|
|
@ -120,8 +120,7 @@ sub new {
|
||||||
bless $self, $class;
|
bless $self, $class;
|
||||||
|
|
||||||
$self->{version} = '1.0';
|
$self->{version} = '1.0';
|
||||||
$options{options}->add_options(arguments =>
|
$options{options}->add_options(arguments => {
|
||||||
{
|
|
||||||
});
|
});
|
||||||
|
|
||||||
return $self;
|
return $self;
|
||||||
|
|
|
@ -79,8 +79,7 @@ sub new {
|
||||||
bless $self, $class;
|
bless $self, $class;
|
||||||
|
|
||||||
$self->{version} = '1.0';
|
$self->{version} = '1.0';
|
||||||
$options{options}->add_options(arguments =>
|
$options{options}->add_options(arguments => {
|
||||||
{
|
|
||||||
"filter-name:s" => { name => 'filter_name' },
|
"filter-name:s" => { name => 'filter_name' },
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue