From 3b2e8ee11ecd3fa8604f0d503c6732b99f2d24ea Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 30 Mar 2015 02:25:17 +0200 Subject: Make it clearer that 'keyid' is required. --- cli/icevault | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/icevault') diff --git a/cli/icevault b/cli/icevault index 8a313ca..9f58502 100755 --- a/cli/icevault +++ b/cli/icevault @@ -154,7 +154,7 @@ sub loadConfig() { $CONFIG{socket} //= 'socket'; $CONFIG{socket} =~ s#\A~/#$ENV{HOME}#; - error "Missing keyid in configuration file" unless defined $CONFIG{keyid}; + error "Missing mandatory option C<%s> in configuration file", 'keyid' unless defined $CONFIG{keyid}; $CONFIG{keyid} = [ map { /^((?:0x)?\p{AHex}{16}|\p{AHex}{40})$/ or error "C<%s> is not a 64-bits key ID or fingerprint", $_; $1 } -- cgit v1.2.3