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 +- cli/icevault.1 | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3