mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
init: Propagated rules to CmdTags
This commit is contained in:
parent
b099944a3c
commit
894e62a6b0
3 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@
|
|||
#include <iostream>
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdTags (Database& database, Log& log)
|
||||
int CmdTags (Rules& rules, Database& database, Log& log)
|
||||
{
|
||||
// Generate a unique, ordered list of tags.
|
||||
std::vector <std::string> tags;
|
||||
|
|
|
@ -50,7 +50,7 @@ int CmdImport (
|
|||
int CmdReport (const std::vector <std::string>&, Rules&, Database&, Extensions&, Log&);
|
||||
int CmdStart (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 CmdUndo ( );
|
||||
|
||||
|
|
|
@ -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 ( );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue