init: Propagated datatabase to CmdDiagnostics

This commit is contained in:
Paul Beckingham 2016-03-19 09:16:34 -04:00
parent d5b12e8e27
commit 854213c8b5
3 changed files with 4 additions and 3 deletions

View file

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