summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeinrich Schuchardt2016-10-15 16:27:23 +0000
committerJohn Crispin2016-10-16 07:03:45 +0000
commit939ec353c8e5e1fe9b2374c9d20095fa30a6b565 (patch)
tree4e0d313eac7784b516c0ca87a2fc3ac1200ac9ae
parentef6419142a3b0fbcddcccf536e3c1880302c6f89 (diff)
downloadusign-939ec353c8e5e1fe9b2374c9d20095fa30a6b565.tar.gz
usign: main.c: describe necessary arguments for -G
Generation of keys requires -p and -s. The usage help should indicate this. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 2203d01..3536443 100644
--- 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"