diff options
author | Rich Salz <rsalz@akamai.com> | 2019-09-20 03:33:17 +0200 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2019-11-20 09:49:52 +0100 |
commit | 92de469fbd62a77a36dad5fde3a0ac7034071a59 (patch) | |
tree | bd2dfc3fc90d85af938a0e837813f66c5d3fa16c /apps/gendsa.c | |
parent | Add test for non-default sized keys in variable key size ciphers (diff) | |
download | openssl-92de469fbd62a77a36dad5fde3a0ac7034071a59.tar.xz openssl-92de469fbd62a77a36dad5fde3a0ac7034071a59.zip |
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/gendsa.c')
-rw-r--r-- | apps/gendsa.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/gendsa.c b/apps/gendsa.c index 45ae815fd4..12806ef2dd 100644 --- a/apps/gendsa.c +++ b/apps/gendsa.c @@ -32,7 +32,7 @@ typedef enum OPTION_choice { } OPTION_CHOICE; const OPTIONS gendsa_options[] = { - {OPT_HELP_STR, 1, '-', "Usage: %s [args] dsaparam-file\n"}, + {OPT_HELP_STR, 1, '-', "Usage: %s [options] dsaparam-file\n"}, OPT_SECTION("General"), {"help", OPT_HELP, '-', "Display this summary"}, @@ -46,6 +46,9 @@ const OPTIONS gendsa_options[] = { OPT_R_OPTIONS, {"", OPT_CIPHER, '-', "Encrypt the output with any supported cipher"}, {"verbose", OPT_VERBOSE, '-', "Verbose output"}, + + OPT_PARAMETERS(), + {"dsaparam-file", 0, 0, "File containing DSA parameters"}, {NULL} }; |