mirror of
https://github.com/scummvm/scummvm-tools.git
synced 2026-05-21 05:40:44 +00:00
TOOLS: Fix crash when invalid help topic was specified.
svn-id: r51519
This commit is contained in:
@@ -77,7 +77,7 @@ int ToolsCLI::run(int argc, char *argv[]) {
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
std::cout << std::endl << "Unknown help topic '" << arguments[1] << "'" << std::endl;
|
||||
std::cout << std::endl << "Unknown help topic '" << arguments[0] << "'" << std::endl;
|
||||
}
|
||||
printHelp(argv[0]);
|
||||
return 2;
|
||||
|
||||
Reference in New Issue
Block a user