init: Propagated rules to CmdStart

This commit is contained in:
Paul Beckingham 2016-03-28 22:37:33 -04:00
parent 553cda6422
commit aca071cf00
3 changed files with 3 additions and 2 deletions

View file

@ -32,6 +32,7 @@
////////////////////////////////////////////////////////////////////////////////
int CmdStart (
const std::vector <std::string>& args,
Rules& rules,
Database& database,
Log& log)
{

View file

@ -48,7 +48,7 @@ int CmdHelp (const std::vector <std::string>&,
int CmdLog (const std::vector <std::string>&, Log&);
int CmdImport ( );
int CmdReport (const std::vector <std::string>&, Rules&, Database&, Extensions&, Log&);
int CmdStart (const std::vector <std::string>&, Database&, Log&);
int CmdStart (const std::vector <std::string>&, Rules&, Database&, Log&);
int CmdStop (const std::vector <std::string>&, Database&, Log&);
int CmdTags ( Rules&, Database&, Log&);
int CmdTrack ( );

View file

@ -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 ( );