summaryrefslogtreecommitdiffstats
path: root/apps/info.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/info.c')
-rw-r--r--apps/info.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/info.c b/apps/info.c
index d67ed87df3..4656141184 100644
--- a/apps/info.c
+++ b/apps/info.c
@@ -14,7 +14,7 @@
typedef enum OPTION_choice {
OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
OPT_CONFIGDIR, OPT_ENGINESDIR, OPT_MODULESDIR, OPT_DSOEXT, OPT_DIRNAMESEP,
- OPT_LISTSEP, OPT_SEEDS
+ OPT_LISTSEP, OPT_SEEDS, OPT_CPUSETTINGS
} OPTION_CHOICE;
const OPTIONS info_options[] = {
@@ -31,6 +31,7 @@ const OPTIONS info_options[] = {
{"dirnamesep", OPT_DIRNAMESEP, '-', "Directory-filename separator"},
{"listsep", OPT_LISTSEP, '-', "List separator character"},
{"seeds", OPT_SEEDS, '-', "Seed sources"},
+ {"cpusettings", OPT_CPUSETTINGS, '-', "CPU settings info"},
{NULL}
};
@@ -79,6 +80,10 @@ opthelp:
type = OPENSSL_INFO_SEED_SOURCE;
dirty++;
break;
+ case OPT_CPUSETTINGS:
+ type = OPENSSL_INFO_CPU_SETTINGS;
+ dirty++;
+ break;
}
}
if (opt_num_rest() != 0) {