sbsigntooL: expand usage info
Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
This commit is contained in:
parent
0e9c5f7496
commit
fcf663b560
1 changed files with 10 additions and 1 deletions
11
sbsigntool.c
11
sbsigntool.c
|
@ -58,7 +58,16 @@ static struct option options[] = {
|
||||||
|
|
||||||
static void usage(const char *progname)
|
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)
|
static void set_default_outfilename(struct sign_context *ctx)
|
||||||
|
|
Loading…
Reference in a new issue