init: Propagated extensions to CmdDiagnostics

This commit is contained in:
Paul Beckingham 2016-03-20 10:08:40 -04:00
parent 08f0bde258
commit c62a0240c0
3 changed files with 3 additions and 3 deletions

View file

@ -36,7 +36,7 @@
#endif #endif
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
int CmdDiagnostics (Rules& rules, Database& database, Log& log) int CmdDiagnostics (Rules& rules, Database& database, Extensions& extensions, Log& log)
{ {
std::stringstream out; std::stringstream out;
out << "\n" out << "\n"

View file

@ -39,7 +39,7 @@ int CmdConfig ();
int CmdContinue (); int CmdContinue ();
int CmdDefault (); int CmdDefault ();
int CmdDefine (Rules&); int CmdDefine (Rules&);
int CmdDiagnostics (Rules&, Database&, Log&); int CmdDiagnostics (Rules&, Database&, Extensions&, Log&);
int CmdExport (); int CmdExport ();
int CmdExtensions (Rules&, Extensions&); int CmdExtensions (Rules&, Extensions&);
int CmdGaps (); int CmdGaps ();

View file

@ -196,7 +196,7 @@ int dispatchCommand (
else if (closeEnough (allCommands[1], args[1], 2)) status = CmdConfig (); else if (closeEnough (allCommands[1], args[1], 2)) status = CmdConfig ();
else if (closeEnough (allCommands[2], args[1], 2)) status = CmdContinue (); else if (closeEnough (allCommands[2], args[1], 2)) status = CmdContinue ();
else if (closeEnough (allCommands[3], args[1], 2)) status = CmdDefine (rules); else if (closeEnough (allCommands[3], args[1], 2)) status = CmdDefine (rules);
else if (closeEnough (allCommands[4], args[1], 2)) status = CmdDiagnostics (rules, database, log); else if (closeEnough (allCommands[4], args[1], 2)) status = CmdDiagnostics (rules, database, extensions, log);
else if (closeEnough (allCommands[5], args[1], 2)) status = CmdExport (); else if (closeEnough (allCommands[5], args[1], 2)) status = CmdExport ();
else if (closeEnough (allCommands[6], args[1], 2)) status = CmdExtensions (rules, extensions); else if (closeEnough (allCommands[6], args[1], 2)) status = CmdExtensions (rules, extensions);
else if (closeEnough (allCommands[7], args[1], 2)) status = CmdGaps (); else if (closeEnough (allCommands[7], args[1], 2)) status = CmdGaps ();