aboutsummaryrefslogtreecommitdiffstats
path: root/cli/icevault
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-03-30 02:25:17 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-03-30 02:26:08 +0200
commitbc5ba4677f88d1dad0b77af85d9e36297fa36c22 (patch)
tree0f04d2001a009d924cd30ec1d5cbe41648279a49 /cli/icevault
parent20ad6baf1a834372514bfc964de88087dd20cce4 (diff)
Make it clearer that 'keyid' is required.
Diffstat (limited to 'cli/icevault')
-rwxr-xr-xcli/icevault2
1 files changed, 1 insertions, 1 deletions
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 }