apps: make list -help not continue with listing

All the commands return after printing their help.  List doesn't.
This brings them in line.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15211)
This commit is contained in:
Pauli 2021-05-10 15:55:13 +10:00
parent 482e6693b4
commit b5d984bf67

View File

@ -1560,7 +1560,7 @@ opthelp:
return 1;
case OPT_HELP:
opt_help(list_options);
break;
return 0;
case OPT_ONE:
one = 1;
break;