mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdTrack: Removed log
This commit is contained in:
parent
fe26bc2fbb
commit
0305dee768
3 changed files with 5 additions and 5 deletions
|
@ -32,8 +32,7 @@
|
|||
int CmdTrack (
|
||||
CLI& cli,
|
||||
Rules& rules,
|
||||
Database& database,
|
||||
Log& log)
|
||||
Database& database)
|
||||
{
|
||||
std::cout << "[track: record an old interval]\n";
|
||||
|
||||
|
|
|
@ -31,10 +31,7 @@
|
|||
#include <Rules.h>
|
||||
#include <Database.h>
|
||||
#include <Extensions.h>
|
||||
#include <Log.h>
|
||||
|
||||
int CmdTrack (CLI&, Rules&, Database&, Log&);
|
||||
int CmdUndo ( );
|
||||
int CmdClear ( );
|
||||
int CmdConfig ( );
|
||||
int CmdContinue ( Rules&, Database& );
|
||||
|
@ -51,5 +48,7 @@ int CmdReport (CLI&, Rules&, Database&, Extensions&);
|
|||
int CmdStart (CLI&, Rules&, Database& );
|
||||
int CmdStop (CLI&, Rules&, Database& );
|
||||
int CmdTags ( Rules&, Database& );
|
||||
int CmdTrack (CLI&, Rules&, Database& );
|
||||
int CmdUndo ( );
|
||||
|
||||
#endif
|
||||
|
|
|
@ -220,6 +220,8 @@ int dispatchCommand (
|
|||
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 if (command == "track") status = CmdTrack (cli, rules, database );
|
||||
else if (command == "undo") status = CmdUndo ( );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue