mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
init: Propagated extensions to CmdDiagnostics
This commit is contained in:
parent
08f0bde258
commit
c62a0240c0
3 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdDiagnostics (Rules& rules, Database& database, Log& log)
|
int CmdDiagnostics (Rules& rules, Database& database, Extensions& extensions, Log& log)
|
||||||
{
|
{
|
||||||
std::stringstream out;
|
std::stringstream out;
|
||||||
out << "\n"
|
out << "\n"
|
||||||
|
|
|
@ -39,7 +39,7 @@ int CmdConfig ();
|
||||||
int CmdContinue ();
|
int CmdContinue ();
|
||||||
int CmdDefault ();
|
int CmdDefault ();
|
||||||
int CmdDefine (Rules&);
|
int CmdDefine (Rules&);
|
||||||
int CmdDiagnostics (Rules&, Database&, Log&);
|
int CmdDiagnostics (Rules&, Database&, Extensions&, Log&);
|
||||||
int CmdExport ();
|
int CmdExport ();
|
||||||
int CmdExtensions (Rules&, Extensions&);
|
int CmdExtensions (Rules&, Extensions&);
|
||||||
int CmdGaps ();
|
int CmdGaps ();
|
||||||
|
|
|
@ -196,7 +196,7 @@ int dispatchCommand (
|
||||||
else if (closeEnough (allCommands[1], args[1], 2)) status = CmdConfig ();
|
else if (closeEnough (allCommands[1], args[1], 2)) status = CmdConfig ();
|
||||||
else if (closeEnough (allCommands[2], args[1], 2)) status = CmdContinue ();
|
else if (closeEnough (allCommands[2], args[1], 2)) status = CmdContinue ();
|
||||||
else if (closeEnough (allCommands[3], args[1], 2)) status = CmdDefine (rules);
|
else if (closeEnough (allCommands[3], args[1], 2)) status = CmdDefine (rules);
|
||||||
else if (closeEnough (allCommands[4], args[1], 2)) status = CmdDiagnostics (rules, database, log);
|
else if (closeEnough (allCommands[4], args[1], 2)) status = CmdDiagnostics (rules, database, extensions, log);
|
||||||
else if (closeEnough (allCommands[5], args[1], 2)) status = CmdExport ();
|
else if (closeEnough (allCommands[5], args[1], 2)) status = CmdExport ();
|
||||||
else if (closeEnough (allCommands[6], args[1], 2)) status = CmdExtensions (rules, extensions);
|
else if (closeEnough (allCommands[6], args[1], 2)) status = CmdExtensions (rules, extensions);
|
||||||
else if (closeEnough (allCommands[7], args[1], 2)) status = CmdGaps ();
|
else if (closeEnough (allCommands[7], args[1], 2)) status = CmdGaps ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue