This commit is contained in:
Quentin Garnier 2014-10-20 17:59:31 +02:00
commit 8f1b38ad7f
1 changed files with 5 additions and 0 deletions

View File

@ -106,6 +106,11 @@ sub check_options {
$self->{option_results}->{timeout} > 0) {
alarm($self->{option_results}->{timeout});
}
if (!defined($self->{option_results}->{scenario})) {
$self->{output}->add_option_msg(short_msg => "Please specify a scenario name" . $self->{option_results}->{scenario} . ".");
$self->{output}->option_exit();
}
}
sub run {