diff --git a/src/commands/CmdStart.cpp b/src/commands/CmdStart.cpp index 10fbb82d..311efab3 100644 --- a/src/commands/CmdStart.cpp +++ b/src/commands/CmdStart.cpp @@ -32,6 +32,7 @@ //////////////////////////////////////////////////////////////////////////////// int CmdStart ( const std::vector & args, + Rules& rules, Database& database, Log& log) { diff --git a/src/commands/commands.h b/src/commands/commands.h index 0e80ccaa..aaade0b6 100644 --- a/src/commands/commands.h +++ b/src/commands/commands.h @@ -48,7 +48,7 @@ int CmdHelp (const std::vector &, int CmdLog (const std::vector &, Log&); int CmdImport ( ); int CmdReport (const std::vector &, Rules&, Database&, Extensions&, Log&); -int CmdStart (const std::vector &, Database&, Log&); +int CmdStart (const std::vector &, Rules&, Database&, Log&); int CmdStop (const std::vector &, Database&, Log&); int CmdTags ( Rules&, Database&, Log&); int CmdTrack ( ); diff --git a/src/init.cpp b/src/init.cpp index 105c8a1d..f5d6f94c 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -202,7 +202,7 @@ int dispatchCommand ( else if (matches[0] == allCommands[9]) status = CmdImport ( ); else if (matches[0] == allCommands[10]) status = CmdLog (args, log); else if (matches[0] == allCommands[11]) status = CmdReport (args, rules, database, extensions, log); - else if (matches[0] == allCommands[12]) status = CmdStart (args, database, log); + else if (matches[0] == allCommands[12]) status = CmdStart (args, rules, database, log); else if (matches[0] == allCommands[13]) status = CmdStop (args, database, log); else if (matches[0] == allCommands[14]) status = CmdTags ( rules, database, log); else if (matches[0] == allCommands[15]) status = CmdTrack ( );