diff --git a/client/common/cmdline.h b/client/common/cmdline.h index d9701bb5c..d73979ff8 100644 --- a/client/common/cmdline.h +++ b/client/common/cmdline.h @@ -90,15 +90,14 @@ static const COMMAND_LINE_ARGUMENT_A global_cmd_args[] = { "[deny,ignore,name:,tofu,fingerprint::[,fingerprint::]]", NULL, NULL, -1, NULL, - "Certificate accept options. Use with care!" + "Certificate accept options. Use with care!\n" " * deny ... Automatically abort connection if the certificate does not match, no " - "user interaction. " - " * ignore ... Ignore the certificate checks altogether (overrules all other options) " - " " + "user interaction.\n" + " * ignore ... Ignore the certificate checks altogether (overrules all other options)\n" " * name ... Use the alternate instead of the certificate subject to match " - "locally stored certificates" + "locally stored certificates\n" " * tofu ... Accept certificate unconditionally on first connect and deny on " - "subsequent connections if the certificate does not match" + "subsequent connections if the certificate does not match\n" " * fingerprints ... A list of certificate hashes that are accepted unconditionally for a " "connection" }, #if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE) @@ -120,14 +119,15 @@ static const COMMAND_LINE_ARGUMENT_A global_cmd_args[] = { "Client Build Number sent to server (influences smartcard behaviour, see [MS-RDPESC])" }, { "client-hostname", COMMAND_LINE_VALUE_REQUIRED, "", NULL, NULL, -1, NULL, "Client Hostname to send to server" }, - { "clipboard", COMMAND_LINE_VALUE_BOOL | COMMAND_LINE_VALUE_OPTIONAL, + { "clipboard", COMMAND_LINE_VALUE_OPTIONAL, "[[use-selection:],[direction-to:[all|local|remote|off]],[files-to[:all|local|remote|" "off]]],", - BoolValueTrue, NULL, -1, NULL, - "Redirect clipboard. " + NULL, NULL, -1, NULL, + "Redirect clipboard:\n" " * use-selection: ... (X11) Specify which X selection to access. Default is " - "CLIPBOARD." - " PRIMARY is the X-style middle-click selection." }, + "CLIPBOARD. PRIMARY is the X-style middle-click selection.\n" + " * direction-to:[all|local|remote|off] control enabled clipboard direction\n" + " * files-to:[all|local|remote|off] control enabled file clipboard directiont" }, #if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE) { "codec-cache", COMMAND_LINE_VALUE_REQUIRED, "[rfx|nsc|jpeg]", NULL, NULL, -1, NULL, "[DEPRECATED, use /cache:codec:[rfx|nsc|jpeg]] Bitmap codec cache" }, @@ -258,11 +258,11 @@ static const COMMAND_LINE_ARGUMENT_A global_cmd_args[] = { "[layout:[0x|],lang:<0x>,fn-key:,type:,subtype:,unicode[:" "on|off],remap:=,remap:=,pipe:]", NULL, NULL, -1, NULL, - "Keyboard related options:" - "* layout: set the keybouard layout announced to the server" - "* lang: set the keyboard language identifier sent to the server" - "* fn-key: Function key value" - "* pipe: Name of a named pipe that can be used to type text into the RDP session" }, + "Keyboard related options:\n" + " * layout: set the keybouard layout announced to the server\n" + " * lang: set the keyboard language identifier sent to the server\n" + " * fn-key: Function key value\n" + " * pipe: Name of a named pipe that can be used to type text into the RDP session\n" }, #if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE) { "kbd-lang", COMMAND_LINE_VALUE_REQUIRED, "0x", NULL, NULL, -1, NULL, "[DEPRECATED, use / kbd:lang:] Keyboard active language identifier" }, @@ -325,9 +325,9 @@ static const COMMAND_LINE_ARGUMENT_A global_cmd_args[] = { "Send mouse motion with relative addressing" }, { "mouse", COMMAND_LINE_VALUE_REQUIRED, "[relative:[on|off],grab:[on|off]]", NULL, NULL, -1, NULL, - "Mouse related options:" - "* relative: send relative mouse movements if supported by server" - "* grab: grab the mouse if within the window" }, + "Mouse related options:\n" + " * relative: send relative mouse movements if supported by server\n" + " * grab: grab the mouse if within the window" }, #if defined(CHANNEL_TSMF_CLIENT) { "multimedia", COMMAND_LINE_VALUE_OPTIONAL, "[sys:,][dev:,][decoder:]", NULL, NULL, -1, "mmr", "[DEPRECATED], use /video] Redirect multimedia (video)" }, @@ -454,10 +454,10 @@ static const COMMAND_LINE_ARGUMENT_A global_cmd_args[] = { { "tls", COMMAND_LINE_VALUE_REQUIRED, "[ciphers|seclevel|secrets-file|enforce]", NULL, NULL, -1, NULL, "TLS configuration options:" - " * ciphers:[netmon|ma|]" + " * ciphers:[netmon|ma|]\n" " * seclevel:, default: 1, range: [0-5] Override the default TLS security level, " - "might be required for older target servers" - " * secrets-file:" + "might be required for older target servers\n" + " * secrets-file:\n" " * enforce[:[ssl3|1.0|1.1|1.2|1.3]] Force use of SSL/TLS version for a connection. Some " "servers have a buggy TLS " "version negotiation and might fail without this. Defaults to TLS 1.2 if no argument is "