diff --git a/src/lib/deskflow/App.h b/src/lib/deskflow/App.h index 9a5f5f9b6..12bd75710 100644 --- a/src/lib/deskflow/App.h +++ b/src/lib/deskflow/App.h @@ -150,24 +150,6 @@ constexpr static auto s_helpCommonArgs = // " [--restart|--no-restart]" " [--debug ]"; -// system args (windows/unix) -#if SYSAPI_UNIX - -// unix has no system args -constexpr static auto s_helpSysArgs = ""; -constexpr static auto s_helpSysInfo = ""; - -#elif SYSAPI_WIN32 - -// windows args -constexpr static auto s_helpSysArgs = " [--service ] [--relaunch]"; -constexpr static auto s_helpSysInfo = // - " --service manage the windows service, valid options are:\n" - " install/uninstall/start/stop\n" - " --relaunch persistently relaunches process in current user \n" - " session (useful for vista and upward).\n"; -#endif - #if !defined(WINAPI_LIBEI) && WINAPI_XWINDOWS constexpr static auto s_helpNoWayland = // "\nYour Linux distribution does not support Wayland EI (emulated input)\n" diff --git a/src/lib/deskflow/ClientApp.cpp b/src/lib/deskflow/ClientApp.cpp index 26c266a7c..04a48b187 100644 --- a/src/lib/deskflow/ClientApp.cpp +++ b/src/lib/deskflow/ClientApp.cpp @@ -114,7 +114,7 @@ void ClientApp::help() << "Connect to a " << kAppName << " mouse/keyboard sharing server.\n" << "\n" << " -a, --address
local network interface address.\n" - << s_helpGeneralArgs << s_helpSysInfo << " --yscroll defines the vertical scrolling delta,\n" + << s_helpGeneralArgs << " --yscroll defines the vertical scrolling delta,\n" << " which is 120 by default.\n" << " --sync-language enable language synchronization.\n" << " --invert-scroll invert scroll direction on this\n" diff --git a/src/lib/deskflow/ServerApp.cpp b/src/lib/deskflow/ServerApp.cpp index 5715a2841..23af03f52 100644 --- a/src/lib/deskflow/ServerApp.cpp +++ b/src/lib/deskflow/ServerApp.cpp @@ -110,13 +110,13 @@ void ServerApp::help() << " [--display ]" #endif - << s_helpSysArgs << s_helpCommonArgs << "\n" + << s_helpCommonArgs << "\n" << " -a, --address
listen for clients on the given address.\n" << " -c, --config path of the configuration file\n" << s_helpGeneralArgs << " --disable-client-cert-check disable client SSL certificate \n" " checking (deprecated)\n" - << s_helpSysInfo << s_helpVersionArgs << "\n" + << s_helpVersionArgs << "\n" #if WINAPI_XWINDOWS << " --display when in X mode, connect to the X server\n"