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)