[PATCH] gpgv: document --weak-digest in --help output

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed May 11 04:55:24 CEST 2016


* g10/gpgv.c (opts): add docstring for --weak-digest option.
---
 g10/gpgv.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/g10/gpgv.c b/g10/gpgv.c
index 2a53e69..6269342 100644
--- a/g10/gpgv.c
+++ b/g10/gpgv.c
@@ -79,7 +79,8 @@ static ARGPARSE_OPTS opts[] = {
                 N_("|FD|write status info to this FD")),
   ARGPARSE_s_i (oLoggerFD, "logger-fd", "@"),
   ARGPARSE_s_s (oHomedir, "homedir", "@"),
-  ARGPARSE_s_s (oWeakDigest, "weak-digest", "@"),
+  ARGPARSE_s_s (oWeakDigest, "weak-digest",
+                N_("|ALGO|do not accept signatures made with algorithm ALGO")),
 
   ARGPARSE_end ()
 };
-- 
2.8.1




More information about the Gnupg-devel mailing list