From fcf663b56096f19fc613138526c78544e1ed288e Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Tue, 24 Apr 2012 09:09:57 +0800 Subject: [PATCH] sbsigntooL: expand usage info Signed-off-by: Jeremy Kerr --- sbsigntool.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sbsigntool.c b/sbsigntool.c index 3709a84..c880727 100644 --- a/sbsigntool.c +++ b/sbsigntool.c @@ -58,7 +58,16 @@ static struct option options[] = { static void usage(const char *progname) { - fprintf(stderr, "usage: %s \n", progname); + fprintf(stderr, + "usage: %s --key --cert " + "\n" + "options:\n" + "\t--key signing key (PEM-encoded RSA " + "private key)\n" + "\t--cert certificate (x509 certificate)\n" + "\t--output write signed data to \n" + "\t (default .signed)\n" + , progname); } static void set_default_outfilename(struct sign_context *ctx)