summaryrefslogtreecommitdiffstats
path: root/apps/engine.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2019-09-19 21:33:17 -0400
committerTomas Mraz <tmraz@fedoraproject.org>2019-11-20 09:49:52 +0100
commit92de469fbd62a77a36dad5fde3a0ac7034071a59 (patch)
treebd2dfc3fc90d85af938a0e837813f66c5d3fa16c /apps/engine.c
parent1838580037a47b42c5b2326b0b988c50c7c64c3c (diff)
Document command parameters.
Add documentation for all commands that have parameters. Fix a couple of minor doc and programming bugs, too. Fixes #10313 Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/10371)
Diffstat (limited to 'apps/engine.c')
-rw-r--r--apps/engine.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/engine.c b/apps/engine.c
index 24dff22c54..a71e111016 100644
--- a/apps/engine.c
+++ b/apps/engine.c
@@ -30,8 +30,6 @@ typedef enum OPTION_choice {
const OPTIONS engine_options[] = {
{OPT_HELP_STR, 1, '-', "Usage: %s [options] engine...\n"},
- {OPT_HELP_STR, 1, '-',
- " engine... Engines to load\n"},
OPT_SECTION("General"),
{"help", OPT_HELP, '-', "Display this summary"},
@@ -48,6 +46,9 @@ const OPTIONS engine_options[] = {
{"tt", OPT_TT, '-', "Display error trace for unavailable engines"},
{OPT_MORE_STR, OPT_EOF, 1,
"Commands are like \"SO_PATH:/lib/libdriver.so\""},
+
+ OPT_PARAMETERS(),
+ {"engine", 0, 0, "ID of engine(s) to load"},
{NULL}
};