mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
init: Propagated rules to CmdContinue
This commit is contained in:
parent
ee89180924
commit
553cda6422
3 changed files with 3 additions and 2 deletions
|
@ -30,6 +30,7 @@
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdContinue (
|
||||
Rules& rules,
|
||||
Database& database,
|
||||
Log& log)
|
||||
{
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
int CmdClear ( );
|
||||
int CmdConfig ( );
|
||||
int CmdContinue ( Database&, Log&);
|
||||
int CmdContinue ( Rules&, Database&, Log&);
|
||||
int CmdDefault ( Rules&, Database& );
|
||||
int CmdDefine (const std::vector <std::string>&, Rules&, Database&, Log&);
|
||||
int CmdDiagnostics ( Rules&, Database&, Extensions&, Log&);
|
||||
|
|
|
@ -192,7 +192,7 @@ int dispatchCommand (
|
|||
// command to fn mapping.
|
||||
if (matches[0] == allCommands[0]) status = CmdClear ( );
|
||||
else if (matches[0] == allCommands[1]) status = CmdConfig ( );
|
||||
else if (matches[0] == allCommands[2]) status = CmdContinue ( database, log);
|
||||
else if (matches[0] == allCommands[2]) status = CmdContinue ( rules, database, log);
|
||||
else if (matches[0] == allCommands[3]) status = CmdDefine (args, rules, database, log);
|
||||
else if (matches[0] == allCommands[4]) status = CmdDiagnostics ( rules, database, extensions, log);
|
||||
else if (matches[0] == allCommands[5]) status = CmdExport ( database );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue