diff options
author | Stijn Buys <ingar@osirion.org> | 2012-11-18 21:54:47 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-11-18 21:54:47 +0000 |
commit | 5d959c5ba476eb0b103fe5953cca69939a6d836a (patch) | |
tree | 81015c1b3b62c0de1dcdeb9c2eda2ac67b7a74ea /src/client | |
parent | 0b54403c6ac20f2cdd1454e90e9006379f374ec0 (diff) |
Log dedicated server console messages to server.log,
print version number and command line to console on startup.
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/client.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/client.cc b/src/client/client.cc index fd6a597..4d40e78 100644 --- a/src/client/client.cc +++ b/src/client/client.cc @@ -43,11 +43,11 @@ Client *client() void run(int count, char **arguments) { - std::cout << core::name() << " " << core::version() << std::endl; - - for (int i = 0; i < count; i++) - std::cout << arguments[i] << " "; - std::cout << std::endl; + con_print << " command line "; + for (int i = 0; i < count; i++) { + con_print << arguments[i] << " "; + } + con_print << std::endl; app.init(count, arguments); app.run(); |