diff --git a/src/commands/CmdReport.cpp b/src/commands/CmdReport.cpp index 81896b78..8c339729 100644 --- a/src/commands/CmdReport.cpp +++ b/src/commands/CmdReport.cpp @@ -67,8 +67,7 @@ int CmdReport ( CLI& cli, Rules& rules, Database& database, - Extensions& extensions, - Log& log) + Extensions& extensions) { // TODO Identify report. auto words = cli.getWords (); diff --git a/src/commands/commands.h b/src/commands/commands.h index 83f62626..38517963 100644 --- a/src/commands/commands.h +++ b/src/commands/commands.h @@ -33,7 +33,6 @@ #include #include -int CmdReport (CLI&, Rules&, Database&, Extensions&, Log&); int CmdStart (CLI&, Rules&, Database&, Log&); int CmdStop (CLI&, Rules&, Database&, Log&); int CmdTags ( Rules&, Database&, Log&); @@ -51,5 +50,6 @@ int CmdGaps ( ); int CmdHelpUsage ( ); int CmdHelp (CLI& ); int CmdImport ( ); +int CmdReport (CLI&, Rules&, Database&, Extensions&); #endif diff --git a/src/init.cpp b/src/init.cpp index 85e77b31..50bb18e2 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -216,6 +216,7 @@ int dispatchCommand ( else if (command == "gaps") status = CmdGaps ( ); else if (command == "help") status = CmdHelp (cli ); else if (command == "import") status = CmdImport ( ); + else if (command == "report") status = CmdReport (cli, rules, database, extensions); } else {