diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-04-12 19:00:00 +0200 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2021-05-20 16:31:22 +0200 |
commit | 56c4f6fe724e4aa54498188873d84e5694b02984 (patch) | |
tree | a5e9eda34894414eb4e394189bff97c87eee9965 /apps/include | |
parent | 601fe8e0d78d4344445cbfa83dbe9bc4ad1287f1 (diff) |
APPS: Allow duplicate entries in options list, marking them OPT_DUP
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15126)
Diffstat (limited to 'apps/include')
-rw-r--r-- | apps/include/opt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/include/opt.h b/apps/include/opt.h index 213e41b83b..951557974b 100644 --- a/apps/include/opt.h +++ b/apps/include/opt.h @@ -318,6 +318,7 @@ typedef struct options_st { } OPTIONS; /* Special retval values: */ #define OPT_PARAM 0 /* same as OPT_EOF usually defined in apps */ +#define OPT_DUP -2 /* marks duplicate occurrence of option in help output */ /* * A string/int pairing; widely use for option value lookup, hence the |