enhance typo

This commit is contained in:
garnier-quentin 2019-07-04 17:09:25 +02:00
parent 08cb1d5eae
commit e2c4631b42
1 changed files with 16 additions and 15 deletions

View File

@ -31,18 +31,18 @@ sub new {
bless $self, $class;
$options{options}->add_options(arguments => {
"hostname:s" => { name => 'hostname' },
"port:s" => { name => 'port', default => '8080' },
"proto:s" => { name => 'proto' },
"credentials" => { name => 'credentials' },
"basic" => { name => 'basic' },
"username:s" => { name => 'username' },
"password:s" => { name => 'password' },
"timeout:s" => { name => 'timeout' },
"urlpath:s" => { name => 'url_path', default => '/manager/text/list' },
"filter-name:s" => { name => 'filter_name', },
"filter-state:s" => { name => 'filter_state', },
"filter-path:s" => { name => 'filter_path', },
'hostname:s' => { name => 'hostname' },
'port:s' => { name => 'port', default => '8080' },
'proto:s' => { name => 'proto' },
'credentials' => { name => 'credentials' },
'basic' => { name => 'basic' },
'username:s' => { name => 'username' },
'password:s' => { name => 'password' },
'timeout:s' => { name => 'timeout' },
'urlpath:s' => { name => 'url_path', default => '/manager/text/list' },
'filter-name:s' => { name => 'filter_name', },
'filter-state:s' => { name => 'filter_state', },
'filter-path:s' => { name => 'filter_path', },
});
$self->{result} = {};
@ -110,9 +110,10 @@ sub disco_show {
$self->manage_selection();
foreach my $name (sort(keys %{$self->{result}})) {
$self->{output}->add_disco_entry(name => $name,
state => $self->{result}->{$name}->{state}
);
$self->{output}->add_disco_entry(
name => $name,
state => $self->{result}->{$name}->{state}
);
}
}