aboutsummaryrefslogtreecommitdiffstats
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:25:17 +0200
commit3b2e8ee11ecd3fa8604f0d503c6732b99f2d24ea (patch)
treedb8606d64212368af8595deb1c01680828127f70
parent3d18927234445d5355fb05914c203d6dafa3d656 (diff)
Make it clearer that 'keyid' is required.
-rwxr-xr-xcli/icevault2
-rw-r--r--cli/icevault.11
2 files changed, 2 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 }
diff --git a/cli/icevault.1 b/cli/icevault.1
index 81c8322..5052416 100644
--- a/cli/icevault.1
+++ b/cli/icevault.1
@@ -197,6 +197,7 @@ probably want to add the \fB--use-agent\fR option. (Default: "gpg".)
A comma-separated list of OpenPGP key ID(s) used as encryption
recipient(s). Each component must be given as 64-bits keyid or full
fingerprint.
+(Required.)
.TP
.I max-password-length