mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 16:14:21 +02:00
+ fix help message
This commit is contained in:
parent
e40ce1e3a9
commit
92b43a8c7b
@ -140,7 +140,7 @@ sub is_mode {
|
|||||||
|
|
||||||
# $options->{mode} = mode
|
# $options->{mode} = mode
|
||||||
if (!defined($self->{modes}{$options{mode}})) {
|
if (!defined($self->{modes}{$options{mode}})) {
|
||||||
$self->{output}->add_option_msg(short_msg => "mode '" . $options{mode} . "' doesn't exist (use --list option to show available modes).");
|
$self->{output}->add_option_msg(short_msg => "mode '" . $options{mode} . "' doesn't exist (use --list-mode option to show available modes).");
|
||||||
$self->{output}->option_exit();
|
$self->{output}->option_exit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user