diff --git a/cmd/synergyc/synergyc.cpp b/cmd/synergyc/synergyc.cpp index 88097a25..21cc95c3 100644 --- a/cmd/synergyc/synergyc.cpp +++ b/cmd/synergyc/synergyc.cpp @@ -482,9 +482,6 @@ run(int argc, char** argv, ILogOutputter* outputter, StartupFunc startup) // through the task bar. s_taskBarReceiver = createTaskBarReceiver(&logBuffer); - // identify system - LOG((CLOG_INFO "Synergy client on %s", ARCH->getOSName().c_str())); - // run int result = startup(argc, argv); @@ -602,6 +599,9 @@ parse(int argc, const char* const* argv) // set defaults ARG->m_name = ARCH->getHostName(); + // identify system + LOG((CLOG_INFO "Synergy client on %s", ARCH->getOSName().c_str())); + // parse options int i; for (i = 1; i < argc; ++i) { diff --git a/cmd/synergys/synergys.cpp b/cmd/synergys/synergys.cpp index b61fa463..7e9ac61f 100644 --- a/cmd/synergys/synergys.cpp +++ b/cmd/synergys/synergys.cpp @@ -573,9 +573,6 @@ run(int argc, char** argv, ILogOutputter* outputter, StartupFunc startup) // through the task bar. s_taskBarReceiver = createTaskBarReceiver(&logBuffer); - // identify system - LOG((CLOG_INFO "Synergy server on %s", ARCH->getOSName().c_str())); - // run int result = startup(argc, argv); @@ -734,6 +731,9 @@ parse(int argc, const char* const* argv) // set defaults ARG->m_name = ARCH->getHostName(); + // identify system + LOG((CLOG_INFO "Synergy server on %s", ARCH->getOSName().c_str())); + // parse options int i = 1; for (; i < argc; ++i) {