Skip to content
Snippets Groups Projects
Verified Commit a834e274 authored by Xavier Robin's avatar Xavier Robin
Browse files

fix: restore -h argument

parent 6be3ccd9
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,9 @@ int main(int argc, char const *argv[])
Logger::Instance().PushVerbosityLevel(4);
} else if (param=="-q") {
Logger::Instance().PushVerbosityLevel(0);
} else if (param=="-h") {
PrintUsage();
return 0;
} else {
std::cout << "Unrecognized argument '" << param << "'" << std::endl;
std::cout << "Try 'chemdict_tool -h' for more information" << std::endl;
......
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