parent
cdcec73b5f
commit
9a8f5d9043
|
@ -56,7 +56,7 @@ sub check_options {
|
||||||
$self->SUPER::init(%options);
|
$self->SUPER::init(%options);
|
||||||
if (!defined($self->{option_results}->{foxbox_password})) {
|
if (!defined($self->{option_results}->{foxbox_password})) {
|
||||||
$self->{output}
|
$self->{output}
|
||||||
->add_option_msg(short_msg => "You need to set --foxbox-username= and --foxbox-password option");
|
->add_option_msg(short_msg => "You need to set --foxbox-username and --foxbox-password options");
|
||||||
$self->{output}->option_exit();
|
$self->{output}->option_exit();
|
||||||
}
|
}
|
||||||
if (!defined($self->{option_results}->{phonenumber})) {
|
if (!defined($self->{option_results}->{phonenumber})) {
|
||||||
|
|
Loading…
Reference in New Issue