From 3a4e43de473ee80347036d78163889b6b1221210 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Tue, 8 Oct 2019 13:10:04 -0400 Subject: Refactor -passin/-passout documentation Always refer to openssl.pod instead of repeating the same description everywhere. Reviewed-by: Tomas Mraz Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/10126) --- apps/list.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps') 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"); -- cgit v1.2.3