X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Console%2FExecutor.cc;h=5e4b6f21ee4b2f073a2fdffc9274cdacdcc05fef;hb=fe92380af7b511d398290e4ab0c535025006b57b;hp=517c46cdec141055e03122ff0714be039d0afa79;hpb=c70f7413515b513656f850f51a3cc2ea9d776a37;p=senf.git diff --git a/Console/Executor.cc b/Console/Executor.cc index 517c46c..5e4b6f2 100644 --- a/Console/Executor.cc +++ b/Console/Executor.cc @@ -46,8 +46,8 @@ namespace { /////////////////////////////////////////////////////////////////////////// // senf::console::Executor -prefix_ void senf::console::Executor::operator()(ParseCommandInfo const & command, - std::ostream & output) +prefix_ void senf::console::Executor::execute(std::ostream & output, + ParseCommandInfo const & command) { SENF_LOG(( "Executing: " << command )); @@ -57,7 +57,7 @@ prefix_ void senf::console::Executor::operator()(ParseCommandInfo const & comman try { switch(command.builtin()) { case ParseCommandInfo::NoBuiltin : - traverseCommand(command.commandPath())(output, command.arguments()); + traverseCommand(command.commandPath())(output, command); break; case ParseCommandInfo::BuiltinCD :