diff options
author | Pauli <pauli@openssl.org> | 2021-05-10 15:55:13 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-05-12 18:40:57 +1000 |
commit | b5d984bf67ba7bb5723a61f73cca89c1f86009ce (patch) | |
tree | 9667fdec849a85c6ce844a6c6ce6a899f716b5a4 | |
parent | 482e6693b436e2de31a7c20d03fc73398b04767f (diff) |
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)
-rw-r--r-- | apps/list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/list.c b/apps/list.c index bd37f63465..bf7c9b1049 100644 --- a/apps/list.c +++ b/apps/list.c @@ -1560,7 +1560,7 @@ opthelp: return 1; case OPT_HELP: opt_help(list_options); - break; + return 0; case OPT_ONE: one = 1; break; |