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

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Oct 15 09:27:23 PDT 2016


Generation of keys requires -p and -s.
The usage help should indicate this.

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

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"
-- 
2.9.3




More information about the Lede-dev mailing list