diff options
author | Jeremy Kerr <jeremy.kerr@canonical.com> | 2012-04-24 09:09:57 +0800 |
---|---|---|
committer | Jeremy Kerr <jeremy.kerr@canonical.com> | 2012-04-24 09:09:57 +0800 |
commit | fcf663b56096f19fc613138526c78544e1ed288e (patch) | |
tree | 04b70fc8f97a297ef15d06da494cd42d839cc9d2 | |
parent | 0e9c5f749612e040e1e70497e0d9d8dd44ae3d6f (diff) | |
download | sbsigntools-fcf663b56096f19fc613138526c78544e1ed288e.tar.gz |
sbsigntooL: expand usage info
Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
-rw-r--r-- | sbsigntool.c | 11 |
1 files changed, 10 insertions, 1 deletions
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 <efi-boot-image>\n", progname); + fprintf(stderr, + "usage: %s --key <keyfile> --cert <certfile> " + "<efi-boot-image>\n" + "options:\n" + "\t--key <keyfile> signing key (PEM-encoded RSA " + "private key)\n" + "\t--cert <certfile> certificate (x509 certificate)\n" + "\t--output <file> write signed data to <file>\n" + "\t (default <efi-boot-image>.signed)\n" + , progname); } static void set_default_outfilename(struct sign_context *ctx) |