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

fix: better error message

parent 3e3e5437
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,8 @@ int main(int argc, char const *argv[])
} else if (param=="-q") {
Logger::Instance().PushVerbosityLevel(0);
} else {
PrintUsage();
std::cout << "Unrecognized argument '" << param << "'" << std::endl;
std::cout << "Try 'chemdict_tool -h' for more information" << std::endl;
return 1;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment