mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdExport: Removed log
This commit is contained in:
parent
4b24f86b0d
commit
6f0a683398
3 changed files with 3 additions and 4 deletions
|
@ -32,8 +32,7 @@
|
|||
int CmdExport (
|
||||
CLI& cli,
|
||||
Rules& rules,
|
||||
Database& database,
|
||||
Log& log)
|
||||
Database& database)
|
||||
{
|
||||
// Load all data.
|
||||
auto intervals = database.getAllIntervals ();
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include <Extensions.h>
|
||||
#include <Log.h>
|
||||
|
||||
int CmdExport (CLI&, Rules&, Database&, Log&);
|
||||
int CmdExtensions ( Rules&, Extensions& );
|
||||
int CmdGaps ( );
|
||||
int CmdHelpUsage ( );
|
||||
|
@ -51,5 +50,6 @@ int CmdContinue ( Rules&, Database& );
|
|||
int CmdDefault ( Rules&, Database& );
|
||||
int CmdDefine (CLI&, Rules&, Database& );
|
||||
int CmdDiagnostics ( Rules&, Database&, Extensions&);
|
||||
int CmdExport (CLI&, Rules&, Database& );
|
||||
|
||||
#endif
|
||||
|
|
|
@ -206,7 +206,6 @@ int dispatchCommand (
|
|||
{
|
||||
// These signatures are æxpected to be all different, therefore no
|
||||
// command to fn mapping.
|
||||
else if (command == "export") status = CmdExport (cli, rules, database, log);
|
||||
else if (command == "extensions") status = CmdExtensions ( rules, extensions );
|
||||
else if (command == "gaps") status = CmdGaps ( );
|
||||
else if (command == "help") status = CmdHelp (cli, log);
|
||||
|
@ -222,6 +221,7 @@ int dispatchCommand (
|
|||
else if (command == "continue") status = CmdContinue ( rules, database );
|
||||
else if (command == "define") status = CmdDefine (cli, rules, database );
|
||||
else if (command == "diagnostics") status = CmdDiagnostics ( rules, database, extensions);
|
||||
else if (command == "export") status = CmdExport (cli, rules, database );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue