diff options
-rwxr-xr-x | masterkey.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/masterkey.pl b/masterkey.pl index dca2c93..d532dfb 100755 --- a/masterkey.pl +++ b/masterkey.pl @@ -85,7 +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: --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}; |