usign: main.c: describe necessary arguments for -G
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 15 Oct 2016 16:27:23 +0000 (18:27 +0200)
committerJohn Crispin <john@phrozen.org>
Sun, 16 Oct 2016 07:03:45 +0000 (09:03 +0200)
Generation of keys requires -p and -s.
The usage help should indicate this.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
main.c

diff --git a/main.c b/main.c
index 2203d0185611f6b4a9b13358f47c9c81cbabc7d0..3536443d5e3d21f83cc8bd6dc40f05ccd658a98b 100644 (file)
--- a/main.c
+++ b/main.c
@@ -333,7 +333,7 @@ static int usage(const char *cmd)
                "  -V:                  verify (needs at least -m and -p|-P)\n"
                "  -S:                  sign (needs at least -m and -s)\n"
                "  -F:                  print key fingerprint of public/secret key or signature\n"
-               "  -G:                  generate a new keypair\n"
+               "  -G:                  generate a new keypair (needs at least -p and -s)\n"
                "Options:\n"
                "  -c <comment>:        add comment to keys\n"
                "  -m <file>:           message file\n"