+ fix help message
This commit is contained in:
parent
05b3353a74
commit
c98a81f042
|
@ -140,7 +140,7 @@ sub is_mode {
|
|||
|
||||
# $options->{mode} = 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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue