From e3f03c7524ea8afcadaddef2daec440949ca1ea0 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 16 Jul 2016 12:01:05 -0400 Subject: [PATCH] CmdGet: Removed Rules --- src/commands/CmdGet.cpp | 1 - src/commands/commands.h | 2 +- src/init.cpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/commands/CmdGet.cpp b/src/commands/CmdGet.cpp index 9ea2e5d9..cdae31f8 100644 --- a/src/commands/CmdGet.cpp +++ b/src/commands/CmdGet.cpp @@ -35,7 +35,6 @@ // Іdentify DOM references in cli, provide space-separated results. int CmdGet ( const CLI& cli, - Rules& rules, Database& database) { std::vector results; diff --git a/src/commands/commands.h b/src/commands/commands.h index a061ea3b..f6153c4a 100644 --- a/src/commands/commands.h +++ b/src/commands/commands.h @@ -41,7 +41,7 @@ int CmdDiagnostics ( Rules&, Database&, const Extensions&); int CmdExport (const CLI&, Rules&, Database& ); int CmdExtensions ( Rules&, const Extensions&); int CmdGaps (const CLI&, Rules&, Database& ); -int CmdGet (const CLI&, Rules&, Database& ); +int CmdGet (const CLI&, Database& ); int CmdHelpUsage ( ); int CmdHelp (const CLI& ); int CmdImport ( ); diff --git a/src/init.cpp b/src/init.cpp index b095ba2e..43a838e4 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -265,7 +265,7 @@ int dispatchCommand ( else if (command == "export") status = CmdExport (cli, rules, database ); else if (command == "extensions") status = CmdExtensions ( rules, extensions); else if (command == "gaps") status = CmdGaps (cli, rules, database ); - else if (command == "get") status = CmdGet (cli, rules, database ); + else if (command == "get") status = CmdGet (cli, database ); else if (command == "help") status = CmdHelp (cli ); else if (command == "import") status = CmdImport ( ); else if (command == "join") status = CmdJoin (cli, rules, database );