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:26:08 +0200
commitbc5ba4677f88d1dad0b77af85d9e36297fa36c22 (patch)
tree0f04d2001a009d924cd30ec1d5cbe41648279a49
parent20ad6baf1a834372514bfc964de88087dd20cce4 (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