chore: remove unused --service and --relaunch options for windows
This commit is contained in:
parent
57e34ded54
commit
ff1726677b
3 changed files with 3 additions and 21 deletions
|
|
@ -150,24 +150,6 @@ constexpr static auto s_helpCommonArgs = //
|
||||||
" [--restart|--no-restart]"
|
" [--restart|--no-restart]"
|
||||||
" [--debug <level>]";
|
" [--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
|
#if !defined(WINAPI_LIBEI) && WINAPI_XWINDOWS
|
||||||
constexpr static auto s_helpNoWayland = //
|
constexpr static auto s_helpNoWayland = //
|
||||||
"\nYour Linux distribution does not support Wayland EI (emulated input)\n"
|
"\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"
|
<< "Connect to a " << kAppName << " mouse/keyboard sharing server.\n"
|
||||||
<< "\n"
|
<< "\n"
|
||||||
<< " -a, --address <address> local network interface address.\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"
|
<< " which is 120 by default.\n"
|
||||||
<< " --sync-language enable language synchronization.\n"
|
<< " --sync-language enable language synchronization.\n"
|
||||||
<< " --invert-scroll invert scroll direction on this\n"
|
<< " --invert-scroll invert scroll direction on this\n"
|
||||||
|
|
|
||||||
|
|
@ -110,13 +110,13 @@ void ServerApp::help()
|
||||||
<< " [--display <display>]"
|
<< " [--display <display>]"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
<< s_helpSysArgs << s_helpCommonArgs << "\n"
|
<< s_helpCommonArgs << "\n"
|
||||||
<< " -a, --address <address> listen for clients on the given address.\n"
|
<< " -a, --address <address> listen for clients on the given address.\n"
|
||||||
<< " -c, --config <pathname> path of the configuration file\n"
|
<< " -c, --config <pathname> path of the configuration file\n"
|
||||||
<< s_helpGeneralArgs
|
<< s_helpGeneralArgs
|
||||||
<< " --disable-client-cert-check disable client SSL certificate \n"
|
<< " --disable-client-cert-check disable client SSL certificate \n"
|
||||||
" checking (deprecated)\n"
|
" checking (deprecated)\n"
|
||||||
<< s_helpSysInfo << s_helpVersionArgs << "\n"
|
<< s_helpVersionArgs << "\n"
|
||||||
|
|
||||||
#if WINAPI_XWINDOWS
|
#if WINAPI_XWINDOWS
|
||||||
<< " --display <display> when in X mode, connect to the X server\n"
|
<< " --display <display> when in X mode, connect to the X server\n"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue