summaryrefslogtreecommitdiff
path: root/apps/srp.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/srp.c
parent1838580037a47b42c5b2326b0b988c50c7c64c3c (diff)
downloadopenssl-new-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/srp.c')
-rw-r--r--apps/srp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/srp.c b/apps/srp.c
index b980ecbbb5..e7a18d68cb 100644
--- a/apps/srp.c
+++ b/apps/srp.c
@@ -197,6 +197,8 @@ typedef enum OPTION_choice {
} OPTION_CHOICE;
const OPTIONS srp_options[] = {
+ {OPT_HELP_STR, 1, '-', "Usage: %s [options] [user...]\n"},
+
OPT_SECTION("General"),
{"help", OPT_HELP, '-', "Display this summary"},
{"verbose", OPT_VERBOSE, '-', "Talk a lot while doing things"},
@@ -220,6 +222,9 @@ const OPTIONS srp_options[] = {
{"passout", OPT_PASSOUT, 's', "Output file pass phrase source"},
OPT_R_OPTIONS,
+
+ OPT_PARAMETERS(),
+ {"user", 0, 0, "Username(s) to process (optional)"},
{NULL}
};