isoltest: Do not return an error code from --help

This commit is contained in:
Kamil Śliwak
2022-04-06 22:26:21 +02:00
parent 7bace8d25d
commit cf6704ae06
3 changed files with 9 additions and 5 deletions
+3 -2
View File
@@ -433,8 +433,9 @@ int main(int argc, char const *argv[])
{
auto options = std::make_unique<IsolTestOptions>();
if (!options->parse(argc, argv))
return -1;
bool shouldContinue = options->parse(argc, argv);
if (!shouldContinue)
return 0;
options->validate();
CommonOptions::setSingleton(std::move(options));