Make validation error display possible

This commit is contained in:
Miodrag Milanovic 2023-05-16 16:29:22 +02:00
parent 57b923a603
commit 3d0b50a402

View File

@ -97,7 +97,6 @@ bool CommandHandler::executeBeforeContext()
<< " -- Next Generation Place and Route (Version " GIT_DESCRIBE_STR ")\n";
return true;
}
validate();
if (vm.count("quiet")) {
log_streams.push_back(std::make_pair(&std::cerr, LogLevel::WARNING_MSG));
@ -105,6 +104,8 @@ bool CommandHandler::executeBeforeContext()
log_streams.push_back(std::make_pair(&std::cerr, LogLevel::LOG_MSG));
}
validate();
if (vm.count("Werror")) {
log_warn_as_error = true;
}