use proper return value (int) rather than bool.

This commit is contained in:
Andreas Suter 2022-04-29 07:56:38 +02:00
parent 4aa903b879
commit f47fdf7e54

View File

@ -302,7 +302,7 @@ int main(int argc, char *argv[])
if (!rl.Parse(errMsg)) { if (!rl.Parse(errMsg)) {
std::cerr << "**ERROR** in run list: -rl " << runStr << std::endl; std::cerr << "**ERROR** in run list: -rl " << runStr << std::endl;
std::cerr << errMsg << std::endl; std::cerr << errMsg << std::endl;
return false; return PMUSR_WRONG_STARTUP_SYNTAX;
} }
info.runList = rl.GetList(); info.runList = rl.GetList();
// move the argument counter to the proper position // move the argument counter to the proper position