make display of active options in benchmark match actual usage

pull/1304/head
Royce Williams 7 years ago
parent 434af9fe6a
commit 471ba4075d

@ -38,7 +38,14 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag)
if (user_options->machine_readable == false)
{
event_log_info (hashcat_ctx, "%s (%s) starting in benchmark mode...", PROGNAME, version_tag);
event_log_info (hashcat_ctx, "Active options: -O %d, -w %u", user_options->optimized_kernel_enable, user_options->workload_profile);
if (user_options->optimized_kernel_enable == false)
{
event_log_info (hashcat_ctx, "Active options: -w %u", user_options->workload_profile);
}
else
{
event_log_info (hashcat_ctx, "Active options: -O, -w %u", user_options->workload_profile);
}
event_log_info (hashcat_ctx, NULL);
if (user_options->workload_profile_chgd == false)
@ -53,8 +60,14 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag)
else
{
event_log_info (hashcat_ctx, "# %s (%s)", PROGNAME, version_tag);
event_log_info (hashcat_ctx, "# Active options: -O %d, -w %u", user_options->optimized_kernel_enable, user_options->workload_profile);
if (user_options->optimized_kernel_enable == false)
{
event_log_info (hashcat_ctx, "# Active options: -w %u", user_options->workload_profile);
}
else
{
event_log_info (hashcat_ctx, "# Active options: -O, -w %u", user_options->workload_profile);
}
}
}
else if (user_options->restore == true)

Loading…
Cancel
Save