summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmasterkey.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/masterkey.pl b/masterkey.pl
index 41a167c..dca2c93 100755
--- a/masterkey.pl
+++ b/masterkey.pl
@@ -1,6 +1,5 @@
#!/usr/bin/perl
-use warnings;
-use strict;
+use strictures;
use v5.10;
use Data::Dumper;
@@ -86,6 +85,7 @@ on behalf of {$sender_name} ({$sender_key})
# TODO: print all errors at once
die "Error: --from option is required but not set\n" if not $opts{from};
+ die "Error: --from-address option is required but not set\n" if not $opts{from-address};
die "Error: --tokenfile option is required but not set\n" if not $opts{tokenfile};
die "Error: no or invalid command\n" unless $templates{$command};