diff --git a/src/commands/CmdExport.cpp b/src/commands/CmdExport.cpp index 7e8cf46d..a4cde68f 100644 --- a/src/commands/CmdExport.cpp +++ b/src/commands/CmdExport.cpp @@ -30,7 +30,7 @@ //////////////////////////////////////////////////////////////////////////////// int CmdExport ( - const std::vector & args, + CLI& cli, Rules& rules, Database& database, Log& log) diff --git a/src/commands/commands.h b/src/commands/commands.h index c507834a..b0fbcae0 100644 --- a/src/commands/commands.h +++ b/src/commands/commands.h @@ -37,12 +37,12 @@ int CmdClear ( ); int CmdConfig ( ); -int CmdContinue ( Rules&, Database&, Log&); -int CmdDefault ( Rules&, Database& ); +int CmdContinue ( Rules&, Database&, Log&); +int CmdDefault ( Rules&, Database& ); int CmdDefine (const std::vector &, Rules&, Database&, Log&); -int CmdDiagnostics ( Rules&, Database&, Extensions&, Log&); -int CmdExport (const std::vector &, Rules&, Database&, Log&); -int CmdExtensions ( Rules&, Extensions& ); +int CmdDiagnostics ( Rules&, Database&, Extensions&, Log&); +int CmdExport (CLI&, Rules&, Database&, Log&); +int CmdExtensions ( Rules&, Extensions& ); int CmdGaps ( ); int CmdHelpUsage ( ); int CmdHelp (CLI&, Log&); @@ -51,7 +51,7 @@ int CmdImport ( ); int CmdReport (CLI&, Rules&, Database&, Extensions&, Log&); int CmdStart (const std::vector &, Rules&, Database&, Log&); int CmdStop (const std::vector &, Rules&, Database&, Log&); -int CmdTags ( Rules&, Database&, Log&); +int CmdTags ( Rules&, Database&, Log&); int CmdTrack ( ); int CmdUndo ( ); diff --git a/src/init.cpp b/src/init.cpp index 8fadf004..6bcbef66 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -217,7 +217,7 @@ int dispatchCommand ( else if (command == "continue") status = CmdContinue ( rules, database, log); else if (command == "define") status = CmdDefine (args, rules, database, log); else if (command == "diagnostics") status = CmdDiagnostics ( rules, database, extensions, log); - else if (command == "export") status = CmdExport (args, rules, database, log); + 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);