init: Propagated rules to CmdTags

This commit is contained in:
Paul Beckingham 2016-03-28 01:22:08 -04:00
parent b099944a3c
commit 894e62a6b0
3 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,7 @@
#include <iostream> #include <iostream>
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
int CmdTags (Database& database, Log& log) int CmdTags (Rules& rules, Database& database, Log& log)
{ {
// Generate a unique, ordered list of tags. // Generate a unique, ordered list of tags.
std::vector <std::string> tags; std::vector <std::string> tags;

View file

@ -50,7 +50,7 @@ int CmdImport (
int CmdReport (const std::vector <std::string>&, Rules&, Database&, Extensions&, Log&); 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>&, Database&, Log&);
int CmdStop (const std::vector <std::string>&, Database&, Log&); int CmdStop (const std::vector <std::string>&, Database&, Log&);
int CmdTags ( Database&, Log&); int CmdTags ( Rules&, Database&, Log&);
int CmdTrack ( ); int CmdTrack ( );
int CmdUndo ( ); int CmdUndo ( );

View file

@ -204,7 +204,7 @@ int dispatchCommand (
else if (matches[0] == allCommands[11]) status = CmdReport (args, rules, database, extensions, 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, database, log);
else if (matches[0] == allCommands[13]) status = CmdStop (args, database, log); else if (matches[0] == allCommands[13]) status = CmdStop (args, database, log);
else if (matches[0] == allCommands[14]) status = CmdTags ( database, log); else if (matches[0] == allCommands[14]) status = CmdTags ( rules, database, log);
else if (matches[0] == allCommands[15]) status = CmdTrack ( ); else if (matches[0] == allCommands[15]) status = CmdTrack ( );
else if (matches[0] == allCommands[16]) status = CmdUndo ( ); else if (matches[0] == allCommands[16]) status = CmdUndo ( );
} }