diff options
author | Rich Salz <rsalz@akamai.com> | 2019-09-19 21:33:17 -0400 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2019-11-20 09:49:52 +0100 |
commit | 92de469fbd62a77a36dad5fde3a0ac7034071a59 (patch) | |
tree | bd2dfc3fc90d85af938a0e837813f66c5d3fa16c /apps/rehash.c | |
parent | 1838580037a47b42c5b2326b0b988c50c7c64c3c (diff) | |
download | openssl-92de469fbd62a77a36dad5fde3a0ac7034071a59.tar.gz |
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/rehash.c')
-rw-r--r-- | apps/rehash.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/rehash.c b/apps/rehash.c index ec1cf07506..b7e6e7ec18 100644 --- a/apps/rehash.c +++ b/apps/rehash.c @@ -451,7 +451,7 @@ typedef enum OPTION_choice { } OPTION_CHOICE; const OPTIONS rehash_options[] = { - {OPT_HELP_STR, 1, '-', "Usage: %s [options] [cert-directory...]\n"}, + {OPT_HELP_STR, 1, '-', "Usage: %s [options] [directory...]\n"}, OPT_SECTION("General"), {"help", OPT_HELP, '-', "Display this summary"}, @@ -462,6 +462,9 @@ const OPTIONS rehash_options[] = { OPT_SECTION("Output"), {"v", OPT_VERBOSE, '-', "Verbose output"}, + + OPT_PARAMETERS(), + {"directory", 0, 0, "One or more directories to process (optional)"}, {NULL} }; |