diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2018-08-24 22:56:46 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2018-08-24 22:56:46 +0000 |
commit | 997b23bfe69e72b53bdd55224037319f7f1cca89 (patch) | |
tree | d7fcd2397386a9f2ed17615293064e392c78bc16 | |
parent | c96fec784ea47913e52fd0ae178dd4c12fc9bd14 (diff) |
update usage for pkcs8;
ok tb
-rw-r--r-- | usr.bin/openssl/pkcs8.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/usr.bin/openssl/pkcs8.c b/usr.bin/openssl/pkcs8.c index 03278989034..7938bf8b09c 100644 --- a/usr.bin/openssl/pkcs8.c +++ b/usr.bin/openssl/pkcs8.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pkcs8.c,v 1.12 2018/08/24 20:09:56 tb Exp $ */ +/* $OpenBSD: pkcs8.c,v 1.13 2018/08/24 22:56:45 jmc Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999-2004. */ @@ -113,8 +113,8 @@ static struct option pkcs8_options[] = { }, { .name = "inform", - .argname = "format", - .desc = "Input format (DER or PEM (default))", + .argname = "der | pem", + .desc = "Input format (default PEM)", .type = OPTION_ARG_FORMAT, .opt.value = &pkcs8_config.informat, }, @@ -140,8 +140,8 @@ static struct option pkcs8_options[] = { }, { .name = "outform", - .argname = "format", - .desc = "Output format (DER or PEM (default))", + .argname = "der | pem", + .desc = "Output format (default PEM)", .type = OPTION_ARG_FORMAT, .opt.value = &pkcs8_config.outformat, }, @@ -186,11 +186,10 @@ static struct option pkcs8_options[] = { static void pkcs8_usage() { - fprintf(stderr, "usage: pkcs8 [-embed] [-in file] " - "[-inform fmt] [-nocrypt]\n" - " [-noiter] [-nooct] [-nsdb] [-out file] [-outform fmt] " - "[-passin src]\n" - " [-passout src] [-topk8] [-v1 alg] [-v2 alg]\n\n"); + fprintf(stderr, "usage: pkcs8 [-in file] [inform der | pem] " + "[-nocrypt] [-noiter]\n" + " [-out file] [-outform der | pem] [-passin arg]\n" + " [-passout arg] [-topk8] [-v1 alg] [-v2 alg]\n\n"); options_usage(pkcs8_options); } |