2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 06:27:43 +00:00

LogVisor report additions; Updated RetroCommon

This commit is contained in:
Jack Andersen
2015-07-05 15:35:08 -10:00
parent cd0b2f0926
commit 14a368553d
13 changed files with 94 additions and 91 deletions

View File

@@ -15,7 +15,7 @@ public:
: ToolBase(info)
{
if (m_info.args.empty())
throw HECL::Exception(_S("help requires a tool name argument"));
LogModule.report(LogVisor::FatalError, "help requires a tool name argument");
}
~ToolHelp()
@@ -78,7 +78,7 @@ public:
helpFunc = ToolHelp::Help;
else
{
throw HECL::Exception(_S("unrecognized tool '") + toolName + _S("' - can't help"));
LogModule.report(LogVisor::FatalError, _S("unrecognized tool '%s' - can't help"), toolName.c_str());
return;
}