mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdTags: Removed log
This commit is contained in:
parent
086f0e9c03
commit
fe26bc2fbb
3 changed files with 3 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
|||
#include <iostream>
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdTags (Rules& rules, Database& database, Log& log)
|
||||
int CmdTags (Rules& rules, Database& database)
|
||||
{
|
||||
// Generate a unique, ordered list of tags.
|
||||
std::vector <std::string> tags;
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include <Extensions.h>
|
||||
#include <Log.h>
|
||||
|
||||
int CmdTags ( Rules&, Database&, Log&);
|
||||
int CmdTrack (CLI&, Rules&, Database&, Log&);
|
||||
int CmdUndo ( );
|
||||
int CmdClear ( );
|
||||
|
@ -51,5 +50,6 @@ int CmdImport ( );
|
|||
int CmdReport (CLI&, Rules&, Database&, Extensions&);
|
||||
int CmdStart (CLI&, Rules&, Database& );
|
||||
int CmdStop (CLI&, Rules&, Database& );
|
||||
int CmdTags ( Rules&, Database& );
|
||||
|
||||
#endif
|
||||
|
|
|
@ -219,6 +219,7 @@ int dispatchCommand (
|
|||
else if (command == "report") status = CmdReport (cli, rules, database, extensions);
|
||||
else if (command == "start") status = CmdStart (cli, rules, database );
|
||||
else if (command == "stop") status = CmdStop (cli, rules, database );
|
||||
else if (command == "tags") status = CmdTags ( rules, database );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue