[PATCH] refer to --throw-keyids instead of --throw-keyid

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Nov 21 23:33:01 CET 2014


The full option name is --throw-keyids, so we should refer to it
consistently.

 * g10/encrypt.c: adjust error message
---
 g10/encrypt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/g10/encrypt.c b/g10/encrypt.c
index d1ce933..518b544 100644
--- a/g10/encrypt.c
+++ b/g10/encrypt.c
@@ -872,7 +872,7 @@ write_pubkey_enc_from_list (PK_LIST pk_list, DEK *dek, iobuf_t out)
       if (opt.throw_keyid && (PGP6 || PGP7 || PGP8))
         {
           log_info(_("you may not use %s while in %s mode\n"),
-                   "--throw-keyid",compliance_option_string());
+                   "--throw-keyids",compliance_option_string());
           compliance_failure();
         }
 
-- 
2.1.3




More information about the Gnupg-devel mailing list