Skip to content
Snippets Groups Projects
Unverified Commit 3a4ded64 authored by Xavier Robin's avatar Xavier Robin
Browse files

fix: exit with error code if invalid arguments are given

parent 3efe637c
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ int main(int argc, char const *argv[]) ...@@ -79,7 +79,7 @@ int main(int argc, char const *argv[])
Logger::Instance().PushVerbosityLevel(0); Logger::Instance().PushVerbosityLevel(0);
} else { } else {
PrintUsage(); PrintUsage();
return 0; return 1;
} }
} }
boost::iostreams::filtering_stream<boost::iostreams::input> filtered_istream; boost::iostreams::filtering_stream<boost::iostreams::input> filtered_istream;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment