summaryrefslogtreecommitdiff
path: root/src/command_manager.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-01-14 14:02:54 +0000
committerMaxime Coste <frrrwww@gmail.com>2012-01-14 14:02:54 +0000
commit95db828e170c48696fb67e869989a01e34516647 (patch)
tree241aabe3fdd7591f07c95e1668d6fe0acf6865fc /src/command_manager.hh
parent66d91b8828470c9ea89af11cbfe5060993155f83 (diff)
CommandManager: use directly first command parameter as the command name
Diffstat (limited to 'src/command_manager.hh')
-rw-r--r--src/command_manager.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/command_manager.hh b/src/command_manager.hh
index 852c7d67..6b73b47d 100644
--- a/src/command_manager.hh
+++ b/src/command_manager.hh
@@ -54,8 +54,7 @@ class CommandManager : public Singleton<CommandManager>
{
public:
void execute(const std::string& command_line, const Context& context);
- void execute(const std::string& command, const CommandParameters& params,
- const Context& context);
+ void execute(const CommandParameters& params, const Context& context);
Completions complete(const std::string& command_line, size_t cursor_pos);