diff --git a/src/commands/CmdTags.cpp b/src/commands/CmdTags.cpp index 927f70d7..482e42a5 100644 --- a/src/commands/CmdTags.cpp +++ b/src/commands/CmdTags.cpp @@ -30,7 +30,7 @@ #include //////////////////////////////////////////////////////////////////////////////// -int CmdTags (Database& database, Log& log) +int CmdTags (Rules& rules, Database& database, Log& log) { // Generate a unique, ordered list of tags. std::vector tags; diff --git a/src/commands/commands.h b/src/commands/commands.h index d55df802..929358f8 100644 --- a/src/commands/commands.h +++ b/src/commands/commands.h @@ -50,7 +50,7 @@ int CmdImport ( int CmdReport (const std::vector &, Rules&, Database&, Extensions&, Log&); int CmdStart (const std::vector &, Database&, Log&); int CmdStop (const std::vector &, Database&, Log&); -int CmdTags ( Database&, Log&); +int CmdTags ( Rules&, Database&, Log&); int CmdTrack ( ); int CmdUndo ( ); diff --git a/src/init.cpp b/src/init.cpp index 98e3a1cb..28cad991 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -204,7 +204,7 @@ int dispatchCommand ( 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[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[16]) status = CmdUndo ( ); }