chore: remove unused --service and --relaunch options for windows
This commit is contained in:
@ -150,24 +150,6 @@ constexpr static auto s_helpCommonArgs = //
|
||||
" [--restart|--no-restart]"
|
||||
" [--debug <level>]";
|
||||
|
||||
// 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 <action>] [--relaunch]";
|
||||
constexpr static auto s_helpSysInfo = //
|
||||
" --service <action> 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"
|
||||
|
||||
@ -114,7 +114,7 @@ void ClientApp::help()
|
||||
<< "Connect to a " << kAppName << " mouse/keyboard sharing server.\n"
|
||||
<< "\n"
|
||||
<< " -a, --address <address> local network interface address.\n"
|
||||
<< s_helpGeneralArgs << s_helpSysInfo << " --yscroll <delta> defines the vertical scrolling delta,\n"
|
||||
<< s_helpGeneralArgs << " --yscroll <delta> 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"
|
||||
|
||||
@ -110,13 +110,13 @@ void ServerApp::help()
|
||||
<< " [--display <display>]"
|
||||
#endif
|
||||
|
||||
<< s_helpSysArgs << s_helpCommonArgs << "\n"
|
||||
<< s_helpCommonArgs << "\n"
|
||||
<< " -a, --address <address> listen for clients on the given address.\n"
|
||||
<< " -c, --config <pathname> 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 <display> when in X mode, connect to the X server\n"
|
||||
|
||||
Reference in New Issue
Block a user