X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FConsole%2FtestServer.cc;h=5d1a323c626ad6388c3e413df6953354b5e60019;hb=bd9f9d3fd6fbcff0112a7bf48ab9284da9576b11;hp=74580557fdcbab2901b4f5ef69e18e5ab5d11694;hpb=958bdb52c39fa39f4ef91cafd9628bcb4f85a03c;p=senf.git diff --git a/Utils/Console/testServer.cc b/Utils/Console/testServer.cc index 7458055..5d1a323 100644 --- a/Utils/Console/testServer.cc +++ b/Utils/Console/testServer.cc @@ -97,6 +97,8 @@ int main(int, char **) .add("showlog", &enableLogging) .doc("Enable display of log messages on the current console"); + senf::console::root().link("sl", senf::console::root()["console"]("showlog")); + serverDir .add("shutdown", &shutdownServer) .doc("Terminate server application"); @@ -110,6 +112,8 @@ int main(int, char **) .add("extra", test.dir) .doc("Example of an instance directory"); + senf::console::root().link("ex", test.dir); + senf::console::Server::start( senf::INet4SocketAddress(23232u) ) .name("testServer");