Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-11-18 21:54:47 +0000
committerStijn Buys <ingar@osirion.org>2012-11-18 21:54:47 +0000
commit5d959c5ba476eb0b103fe5953cca69939a6d836a (patch)
tree81015c1b3b62c0de1dcdeb9c2eda2ac67b7a74ea /src/client/client.cc
parent0b54403c6ac20f2cdd1454e90e9006379f374ec0 (diff)
Log dedicated server console messages to server.log,
print version number and command line to console on startup.
Diffstat (limited to 'src/client/client.cc')
-rw-r--r--src/client/client.cc10
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();