diff mbox

[LEDE-DEV,1/1] usign: main.c: describe necessary arguments for -G

Message ID 20161015162723.29612-1-xypron.glpk@gmx.de
State Accepted
Headers show

Commit Message

Heinrich Schuchardt Oct. 15, 2016, 4:27 p.m. UTC
Generation of keys requires -p and -s.
The usage help should indicate this.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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"