summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2019-10-08 13:10:04 -0400
committerRichard Levitte <levitte@openssl.org>2019-10-09 18:59:27 +0200
commit3a4e43de473ee80347036d78163889b6b1221210 (patch)
tree2a4ee3260672f4bda3ca6987e4151c8e787f6d6a /apps
parente20ba0a51571ce48043e129546deb15be30f287d (diff)
Refactor -passin/-passout documentation
Always refer to openssl.pod instead of repeating the same description everywhere. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10126)
Diffstat (limited to 'apps')
-rw-r--r--apps/list.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/list.c b/apps/list.c
index 77fd20e1e1..8c0d9c9b44 100644
--- a/apps/list.c
+++ b/apps/list.c
@@ -331,11 +331,14 @@ static void list_options_for_command(const char *command)
return;
for ( ; o->name != NULL; o++) {
+ char c = o->valtype;
+
if (o->name == OPT_HELP_STR
|| o->name == OPT_MORE_STR
|| o->name[0] == '\0')
continue;
BIO_printf(bio_out, "%s %c\n", o->name, o->valtype);
+ BIO_printf(bio_out, "%s %c\n", o->name, c == '\0' ? '-' : c);
}
/* Always output the -- marker since it is sometimes documented. */
BIO_printf(bio_out, "- -\n");