mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
init: Propagated rules to CmdStart
This commit is contained in:
parent
553cda6422
commit
aca071cf00
3 changed files with 3 additions and 2 deletions
|
@ -32,6 +32,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdStart (
|
||||
const std::vector <std::string>& args,
|
||||
Rules& rules,
|
||||
Database& database,
|
||||
Log& log)
|
||||
{
|
||||
|
|
|
@ -48,7 +48,7 @@ int CmdHelp (const std::vector <std::string>&,
|
|||
int CmdLog (const std::vector <std::string>&, Log&);
|
||||
int CmdImport ( );
|
||||
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>&, Rules&, Database&, Log&);
|
||||
int CmdStop (const std::vector <std::string>&, Database&, Log&);
|
||||
int CmdTags ( Rules&, Database&, Log&);
|
||||
int CmdTrack ( );
|
||||
|
|
|
@ -202,7 +202,7 @@ int dispatchCommand (
|
|||
else if (matches[0] == allCommands[9]) status = CmdImport ( );
|
||||
else if (matches[0] == allCommands[10]) status = CmdLog (args, 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, rules, database, log);
|
||||
else if (matches[0] == allCommands[13]) status = CmdStop (args, database, log);
|
||||
else if (matches[0] == allCommands[14]) status = CmdTags ( rules, database, log);
|
||||
else if (matches[0] == allCommands[15]) status = CmdTrack ( );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue