20#ifndef CLIENT_COMMON_CMDLINE_H
21#define CLIENT_COMMON_CMDLINE_H
23#include <freerdp/config.h>
25#include <winpr/cmdline.h>
28 {
"a", COMMAND_LINE_VALUE_REQUIRED,
"<addin>[,<options>]",
nullptr,
nullptr, -1,
"addin",
30 {
"azure", COMMAND_LINE_VALUE_REQUIRED,
31 "[tenantid:<id>],[use-tenantid[:[on|off]],[ad:<url>]"
32 "[avd-access:<format string>],[avd-token:<format string>],[avd-scope:<format string>],"
33 "[user-agent:<string>],[auth-helper:<path|autodetect>],"
34 "cloud:[commercial|usgov|<name from aad-clouds.json>]",
35 nullptr,
nullptr, -1,
nullptr,
"AzureAD options" },
36 {
"action-script", COMMAND_LINE_VALUE_REQUIRED,
"<file-name>",
"~/.config/freerdp/action.sh",
37 nullptr, -1,
nullptr,
"Action script" },
38 {
"admin", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
"console",
39 "Admin (or console) session" },
40 {
"aero", COMMAND_LINE_VALUE_BOOL,
nullptr,
nullptr, BoolValueFalse, -1,
nullptr,
41 "desktop composition" },
42 {
"app", COMMAND_LINE_VALUE_REQUIRED,
43 "program:[<path>|<||alias>],cmd:<command>,file:<filename>,guid:<guid>,icon:<filename>,name:<"
44 "name>,workdir:<directory>,hidef:[on|off],command-pipe[:on|off]",
45 nullptr,
nullptr, -1,
nullptr,
"Remote application program" },
46#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
47 {
"app-cmd", COMMAND_LINE_VALUE_REQUIRED,
"<parameters>",
nullptr,
nullptr, -1,
nullptr,
48 "[DEPRECATED, use /app:cmd:<command>] Remote application command-line parameters" },
49 {
"app-file", COMMAND_LINE_VALUE_REQUIRED,
"<file-name>",
nullptr,
nullptr, -1,
nullptr,
50 "[DEPRECATED, use /app:file:<filename>] File to open with remote application" },
51 {
"app-guid", COMMAND_LINE_VALUE_REQUIRED,
"<app-guid>",
nullptr,
nullptr, -1,
nullptr,
52 "[DEPRECATED, use /app:guid:<guid>] Remote application GUID" },
53 {
"app-icon", COMMAND_LINE_VALUE_REQUIRED,
"<icon-path>",
nullptr,
nullptr, -1,
nullptr,
54 "[DEPRECATED, use /app:icon:<filename>] Remote application icon for user interface" },
55 {
"app-name", COMMAND_LINE_VALUE_REQUIRED,
"<app-name>",
nullptr,
nullptr, -1,
nullptr,
56 "[DEPRECATED, use /app:name:<name>] Remote application name for user interface" },
57 {
"app-workdir", COMMAND_LINE_VALUE_REQUIRED,
"<workspace path>",
nullptr,
nullptr, -1,
nullptr,
58 "[DEPRECATED, use /app:workdir:<directory>] Remote application workspace path" },
60 {
"assistance", COMMAND_LINE_VALUE_REQUIRED,
"<password>",
nullptr,
nullptr, -1,
nullptr,
61 "Remote assistance password" },
62 {
"auto-request-control", COMMAND_LINE_VALUE_FLAG,
"",
nullptr,
nullptr, -1,
nullptr,
63 "Automatically request remote assistance input control" },
64 {
"async-channels", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
65 "Asynchronous channels (experimental)" },
66 {
"async-update", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
67 "Asynchronous update" },
68 {
"audio-mode", COMMAND_LINE_VALUE_REQUIRED,
"[[none|2]|[server|1]|[redirect|0]]",
nullptr,
69 nullptr, -1,
nullptr,
"Audio output mode" },
70 {
"auth-only", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
71 "Authenticate only" },
72 {
"auth-pkg-list", COMMAND_LINE_VALUE_REQUIRED,
"[[none],]<!ntlm,kerberos,!u2u>",
nullptr,
74 "Authentication package filter (comma-separated list, use '!' to disable). By default "
75 "all methods are enabled. Use explicit 'none' as first argument to disable all methods, "
76 "selectively enabling only the ones following." },
77 {
"authentication", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
78 "Authentication (experimental)" },
79 {
"auto-reconnect", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
80 "Automatic reconnection" },
81 {
"auto-reconnect-max-retries", COMMAND_LINE_VALUE_REQUIRED,
"<retries>",
nullptr,
nullptr, -1,
82 nullptr,
"Automatic reconnection maximum retries, 0 for unlimited [0,1000]" },
83#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
84 {
"bitmap-cache", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
85 "[DEPRECATED, use /cache:bitmap[:on|off]] bitmap cache" },
86 {
"persist-cache", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
87 "[DEPRECATED, use /cache:persist[:on|off]] persistent bitmap cache" },
88 {
"persist-cache-file", COMMAND_LINE_VALUE_REQUIRED,
"<filename>",
nullptr,
nullptr, -1,
89 nullptr,
"[DEPRECATED, use /cache:persist-file:<filename>] persistent bitmap cache file" },
91 {
"bpp", COMMAND_LINE_VALUE_REQUIRED,
"<depth>",
"16",
nullptr, -1,
nullptr,
92 "Session bpp (color depth)" },
93 {
"buildconfig", COMMAND_LINE_VALUE_FLAG | COMMAND_LINE_PRINT_BUILDCONFIG,
nullptr,
nullptr,
94 nullptr, -1,
nullptr,
"Print the build configuration" },
95 {
"cache", COMMAND_LINE_VALUE_REQUIRED,
96 "[bitmap[:on|off],codec[:rfx|nsc],glyph[:on|off],offscreen[:on|off],persist,persist-file:<"
98 nullptr,
nullptr, -1,
nullptr,
"" },
99 {
"cert", COMMAND_LINE_VALUE_REQUIRED,
100 "[deny,ignore,name:<name>,tofu,fingerprint:<hash>:<hash as hex>[,fingerprint:<hash>:<another "
102 nullptr,
nullptr, -1,
nullptr,
103 "Certificate accept options. Use with care!\n"
104 " * deny ... Automatically abort connection if the certificate does not match, no "
105 "user interaction.\n"
106 " * ignore ... Ignore the certificate checks altogether (overrules all other options)\n"
107 " * name ... Use the alternate <name> instead of the certificate subject to match "
108 "locally stored certificates\n"
109 " * tofu ... Accept certificate unconditionally on first connect and deny on "
110 "subsequent connections if the certificate does not match\n"
111 " * fingerprints ... A list of certificate hashes that are accepted unconditionally for a "
113#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
114 {
"cert-deny", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
nullptr,
115 "[DEPRECATED, use /cert:deny] Automatically abort connection for any certificate that can "
116 "not be validated." },
117 {
"cert-ignore", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
nullptr,
118 "[DEPRECATED, use /cert:ignore] Ignore certificate" },
119 {
"cert-name", COMMAND_LINE_VALUE_REQUIRED,
"<name>",
nullptr,
nullptr, -1,
nullptr,
120 "[DEPRECATED, use /cert:name:<name>] Certificate name" },
121 {
"cert-tofu", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
nullptr,
122 "[DEPRECATED, use /cert:tofu] Automatically accept certificate on first connect" },
125 {
"connect-child-session", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
"",
126 "connect to child session (win32)" },
128 {
"client-build-number", COMMAND_LINE_VALUE_REQUIRED,
"<number>",
nullptr,
nullptr, -1,
nullptr,
129 "Client Build Number sent to server (influences smartcard behaviour, see [MS-RDPESC])" },
130 {
"client-hostname", COMMAND_LINE_VALUE_REQUIRED,
"<name>",
nullptr,
nullptr, -1,
nullptr,
131 "Client Hostname to send to server" },
132 {
"clipboard", COMMAND_LINE_VALUE_BOOL | COMMAND_LINE_VALUE_OPTIONAL,
133 "[[use-selection:<atom>],[direction-to:[all|local|remote|off]],[files-to[:all|local|remote|"
135 BoolValueTrue,
nullptr, -1,
nullptr,
136 "Redirect clipboard:\n"
137 " * use-selection:<atom> ... (X11) Specify which X selection to access. Default is "
138 "CLIPBOARD. PRIMARY is the X-style middle-click selection.\n"
139 " * direction-to:[all|local|remote|off] control enabled clipboard direction\n"
140 " * files-to:[all|local|remote|off] control enabled file clipboard direction" },
141#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
142 {
"codec-cache", COMMAND_LINE_VALUE_REQUIRED,
"[rfx|nsc|jpeg]",
nullptr,
nullptr, -1,
nullptr,
143 "[DEPRECATED, use /cache:codec:[rfx|nsc|jpeg]] Bitmap codec cache" },
145 {
"compression", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
"z",
147 {
"compression-level", COMMAND_LINE_VALUE_REQUIRED,
"<level>",
nullptr,
nullptr, -1,
nullptr,
148 "Compression level (0,1,2)" },
149 {
"credentials-delegation", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
150 nullptr,
"credentials delegation" },
151 {
"d", COMMAND_LINE_VALUE_REQUIRED,
"<domain>",
nullptr,
nullptr, -1,
nullptr,
"Domain" },
152 {
"decorations", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
153 "Window decorations" },
154 {
"disp", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
nullptr,
"Display control" },
155 {
"drive", COMMAND_LINE_VALUE_REQUIRED,
"<name>,<path>",
nullptr,
nullptr, -1,
nullptr,
156 "Redirect directory <path> as named share <name>. Hotplug support is enabled with "
157 "/drive:hotplug,*. This argument provides the same function as \"Drives that I plug in "
158 "later\" option in MSTSC." },
159 {
"drives", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
160 "Redirect all mount points as shares" },
161 {
"dump", COMMAND_LINE_VALUE_REQUIRED,
"<record|replay>,file:<file>[,nodelay]",
nullptr,
162 nullptr, -1,
nullptr,
"record or replay dump" },
163 {
"dvc", COMMAND_LINE_VALUE_REQUIRED,
"<channel>[,<options>]",
nullptr,
nullptr, -1,
nullptr,
164 "Dynamic virtual channel" },
165 {
"dynamic-resolution", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
166 "Send resolution updates when the window is resized" },
167 {
"echo", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
"echo",
"Echo channel" },
168 {
"encryption", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
169 "Encryption (experimental)" },
170 {
"encryption-methods", COMMAND_LINE_VALUE_REQUIRED,
"[40,][56,][128,][FIPS]",
nullptr,
nullptr,
171 -1,
nullptr,
"RDP standard security encryption methods" },
172 {
"endpointfedauth", COMMAND_LINE_VALUE_REQUIRED,
"<token>",
nullptr,
nullptr, -1,
nullptr,
173 "Endpoint FedAuth token for Hyper-V VM console-connect scenarios" },
174 {
"f", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
nullptr,
175 "Fullscreen mode (<Ctrl>+<Alt>+<Enter> toggles fullscreen)" },
176 {
"fipsmode", COMMAND_LINE_VALUE_BOOL,
nullptr,
nullptr,
nullptr, -1,
nullptr,
"FIPS mode" },
177 {
"floatbar", COMMAND_LINE_VALUE_OPTIONAL,
178 "sticky:[on|off],default:[visible|hidden],show:[always|fullscreen|window],position:[left|"
180 nullptr,
nullptr, -1,
nullptr,
181 "floatbar is disabled by default (when enabled defaults to sticky, centered, in fullscreen "
183 {
"fonts", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
184 "smooth fonts (ClearType)" },
185 {
"force-console-callbacks", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
186 nullptr,
"Use default callbacks (console) for certificate/credential/..." },
187 {
"frame-ack", COMMAND_LINE_VALUE_REQUIRED,
"<number>",
nullptr,
nullptr, -1,
nullptr,
188 "Number of frame acknowledgement" },
189 {
"args-from", COMMAND_LINE_VALUE_REQUIRED,
"file:<file>|stdin|fd:<number>|env:<name>",
nullptr,
190 nullptr, -1,
nullptr,
191 "Read command line from a file, stdin or file descriptor. This argument can not be combined "
193 "Provide one argument per line." },
194 {
"from-stdin", COMMAND_LINE_VALUE_OPTIONAL,
"force",
nullptr,
nullptr, -1,
nullptr,
195 "Read credentials from stdin. With <force> the prompt is done before connection, otherwise "
196 "on server request." },
197 {
"gateway", COMMAND_LINE_VALUE_REQUIRED,
198 "g:<gateway>[:<port>],u:<user>,d:<domain>,p:<password>,usage-method:["
199 "direct|detect],access-token:<"
200 "token>,type:[rpc|http[,no-websockets][,extauth-sspi-ntlm]|auto[,no-websockets][,extauth-"
201 "sspi-ntlm]]|arm,url:<wss://url>,bearer:<oauth2-bearer-token>,timeout:<1-600000 ms>",
202 nullptr,
nullptr, -1,
"gw",
"Gateway Hostname" },
203#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
204 {
"g", COMMAND_LINE_VALUE_REQUIRED,
"<gateway>[:<port>]",
nullptr,
nullptr, -1,
nullptr,
205 "[DEPRECATED, use /gateway:g:<url>] Gateway Hostname" },
206 {
"gateway-usage-method", COMMAND_LINE_VALUE_REQUIRED,
"[direct|detect]",
nullptr,
nullptr, -1,
207 "gum",
"[DEPRECATED, use /gateway:usage-method:<method>] Gateway usage method" },
208 {
"gd", COMMAND_LINE_VALUE_REQUIRED,
"<domain>",
nullptr,
nullptr, -1,
nullptr,
209 "[DEPRECATED, use /gateway:d:<domain>] Gateway domain" },
211 {
"gdi", COMMAND_LINE_VALUE_REQUIRED,
"sw|hw",
nullptr,
nullptr, -1,
nullptr,
"GDI rendering" },
212 {
"geometry", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
nullptr,
213 "Geometry tracking channel" },
214 {
"gestures", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
215 "Consume multitouch input locally" },
216 {
"gfx", COMMAND_LINE_VALUE_OPTIONAL,
217 "[[progressive[:on|off]|RFX[:on|off]"
219 "|AVC420[:on|off]AVC444[:on|off]"
220 "|AVC-mixed[:on|off]"
222 "],mask:<value>,small-cache[:on|off],thin-client[:on|off],progressive[:on|"
223 "off],frame-ack[:on|off]"
224#if defined(WITH_GFX_AV1)
225 ",AV1[:on|off|i444|i420]"
227#if defined(WITH_GFX_AV2)
228 ",AV2[:on|off|i444|i420]"
230#if defined(WITH_GFX_AZURE)
231 ",HEVC[:on|off|i420|i444]"
234 nullptr,
nullptr, -1,
nullptr,
"RDP8 graphics pipeline" },
235#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
236 {
"gfx-h264", COMMAND_LINE_VALUE_OPTIONAL,
"[[AVC420|AVC444],mask:<value>]",
nullptr,
nullptr,
237 -1,
nullptr,
"[DEPRECATED, use /gfx:avc420] RDP8.1 graphics pipeline using H264 codec" },
239#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
240 {
"gfx-progressive", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
241 "[DEPRECATED, use /gfx:progressive] RDP8 graphics pipeline using progressive codec" },
242 {
"gfx-small-cache", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
243 "[DEPRECATED, use /gfx:small-cache] RDP8 graphics pipeline using small cache mode" },
244 {
"gfx-thin-client", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
245 "[DEPRECATED, use /gfx:thin-client] RDP8 graphics pipeline using thin client mode" },
246 {
"glyph-cache", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
247 "[DEPRECATED, use /cache:glyph[:on|off]] Glyph cache (experimental)" },
249#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
250 {
"gp", COMMAND_LINE_VALUE_REQUIRED,
"<password>",
nullptr,
nullptr, -1,
nullptr,
251 "[DEPRECATED, use /gateway:p:<password>] Gateway password" },
253 {
"grab-keyboard", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
254 "Grab keyboard focus, forward all keys to remote" },
255 {
"grab-mouse", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
256 "Grab mouse focus, forward all events to remote" },
257#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
258 {
"gt", COMMAND_LINE_VALUE_REQUIRED,
259 "[rpc|http[,no-websockets][,extauth-sspi-ntlm]|auto[,no-websockets][,extauth-sspi-ntlm]]",
260 nullptr,
nullptr, -1,
nullptr,
261 "[DEPRECATED, use /gateway:type:<type>] Gateway transport type" },
262 {
"gu", COMMAND_LINE_VALUE_REQUIRED,
"[[<domain>\\]<user>|<user>[@<domain>]]",
nullptr,
nullptr,
263 -1,
nullptr,
"[DEPRECATED, use /gateway:u:<user>] Gateway username" },
264 {
"gat", COMMAND_LINE_VALUE_REQUIRED,
"<access token>",
nullptr,
nullptr, -1,
nullptr,
265 "[DEPRECATED, use /gateway:access-token:<token>] Gateway Access Token" },
267 {
"h", COMMAND_LINE_VALUE_REQUIRED,
"<height>",
"768",
nullptr, -1,
nullptr,
"Height" },
268 {
"heartbeat", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
269 "Support heartbeat PDUs" },
270 {
"help", COMMAND_LINE_VALUE_FLAG | COMMAND_LINE_PRINT_HELP,
nullptr,
nullptr,
nullptr, -1,
"?",
272 {
"home-drive", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
273 "Redirect user home as share" },
274 {
"ipv4", COMMAND_LINE_VALUE_OPTIONAL,
"[:force]",
nullptr,
nullptr, -1,
"4",
275 "Prefer IPv4 A record over IPv6 AAAA record" },
276 {
"ipv6", COMMAND_LINE_VALUE_OPTIONAL,
"[:force]",
nullptr,
nullptr, -1,
"6",
277 "Prefer IPv6 AAAA record over IPv4 A record" },
278#if defined(WITH_JPEG)
279 {
"jpeg", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
nullptr,
280 "JPEG codec support" },
281 {
"jpeg-quality", COMMAND_LINE_VALUE_REQUIRED,
"<percentage>",
nullptr,
nullptr, -1,
nullptr,
284 {
"kbd", COMMAND_LINE_VALUE_REQUIRED,
285 "[layout:[0x<id>|<name>],lang:<0x<id>>,fn-key:<value>,type:<value>,subtype:<value>,unicode[:"
286 "on|off],remap:<key1>=<value1>,remap:<key2>=<value2>,pipe:<filename>]",
287 nullptr,
nullptr, -1,
nullptr,
288 "Keyboard related options:\n"
289 " * layout: set the keybouard layout announced to the server\n"
290 " * lang: set the keyboard language identifier sent to the server\n"
291 " * fn-key: Function key value\n"
292 " * remap: RDP scancode to another one. Use /list:kbd-scancode to get the mapping. Example: "
294 "'a' and 's' on a US keyboard: /kbd:remap:0x1e=0x1f,remap:0x1f=0x1e\n"
295 " * pipe: Name of a named pipe that can be used to type text into the RDP session\n" },
296#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
297 {
"kbd-lang", COMMAND_LINE_VALUE_REQUIRED,
"0x<id>",
nullptr,
nullptr, -1,
nullptr,
298 "[DEPRECATED, use / kbd:lang:<value>] Keyboard active language identifier" },
299 {
"kbd-fn-key", COMMAND_LINE_VALUE_REQUIRED,
"<value>",
nullptr,
nullptr, -1,
nullptr,
300 "[DEPRECATED, use /kbd:fn-key:<value>] Function key value" },
301 {
"kbd-list", COMMAND_LINE_VALUE_FLAG | COMMAND_LINE_PRINT,
nullptr,
nullptr,
nullptr, -1,
302 nullptr,
"[DEPRECATED, use /list:kbd] List keyboard layouts" },
303 {
"kbd-scancode-list", COMMAND_LINE_VALUE_FLAG | COMMAND_LINE_PRINT,
nullptr,
nullptr,
nullptr,
304 -1,
nullptr,
"[DEPRECATED, use list:kbd-scancode] List keyboard RDP scancodes" },
305 {
"kbd-lang-list", COMMAND_LINE_VALUE_OPTIONAL | COMMAND_LINE_PRINT,
nullptr,
nullptr,
nullptr,
306 -1,
nullptr,
"[DEPRECATED, use /list:kbd-lang] List keyboard languages" },
307 {
"kbd-remap", COMMAND_LINE_VALUE_REQUIRED,
308 "[DEPRECATED, use /kbd:remap] List of <key>=<value>,... pairs to remap scancodes",
nullptr,
309 nullptr, -1,
nullptr,
"Keyboard scancode remapping" },
310 {
"kbd-subtype", COMMAND_LINE_VALUE_REQUIRED,
"<id>",
nullptr,
nullptr, -1,
nullptr,
311 "[DEPRECATED, use /kbd:subtype]Keyboard subtype" },
312 {
"kbd-type", COMMAND_LINE_VALUE_REQUIRED,
"<id>",
nullptr,
nullptr, -1,
nullptr,
313 "[DEPRECATED, use /kbd:type] Keyboard type" },
314 {
"kbd-unicode", COMMAND_LINE_VALUE_FLAG,
"",
nullptr,
nullptr, -1,
nullptr,
315 "[DEPRECATED, use /kbd:unicode[:on|off]] Send unicode symbols, e.g. use the local "
316 "keyboard map. ATTENTION: Does not work with every "
319 {
"kerberos", COMMAND_LINE_VALUE_REQUIRED,
320 "[kdc-url:<url>,lifetime:<time>,start-time:<time>,renewable-lifetime:<time>,cache:<path>,"
321 "armor:<path>,pkinit-anchors:<path>,pkcs11-module:<name>]",
322 nullptr,
nullptr, -1,
nullptr,
"Kerberos options" },
323 {
"load-balance-info", COMMAND_LINE_VALUE_REQUIRED,
"<info-string>",
nullptr,
nullptr, -1,
324 nullptr,
"Load balance info" },
325 {
"list", COMMAND_LINE_VALUE_REQUIRED | COMMAND_LINE_PRINT,
326 "[kbd|kbd-scancode|kbd-lang[:<value>]|clouds|smartcard[:[pkinit-anchors:<path>][,pkcs11-"
329 "monitor|tune|timezones]",
330 "List available options for subcommand",
nullptr, -1,
nullptr,
331 "List available options for subcommand" },
332 {
"log-filters", COMMAND_LINE_VALUE_REQUIRED,
"<tag>:<level>[,<tag>:<level>[,...]]",
nullptr,
333 nullptr, -1,
nullptr,
"Set logger filters, see wLog(7) for details" },
334 {
"log-level", COMMAND_LINE_VALUE_REQUIRED,
"[OFF|FATAL|ERROR|WARN|INFO|DEBUG|TRACE]",
nullptr,
335 nullptr, -1,
nullptr,
"Set the default log level, see wLog(7) for details" },
336 {
"max-fast-path-size", COMMAND_LINE_VALUE_REQUIRED,
"<size>",
nullptr,
nullptr, -1,
nullptr,
337 "Specify maximum fast-path update size" },
338 {
"max-loop-time", COMMAND_LINE_VALUE_REQUIRED,
"<time>",
nullptr,
nullptr, -1,
nullptr,
339 "Specify maximum time in milliseconds spend treating packets" },
340 {
"menu-anims", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
342 {
"microphone", COMMAND_LINE_VALUE_OPTIONAL,
343 "[sys:<sys>,][dev:<dev>,][format:<format>,][rate:<rate>,][channel:<channel>]",
nullptr,
344 nullptr, -1,
"mic",
"Audio input (microphone)" },
345#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
346 {
"smartcard-list", COMMAND_LINE_VALUE_FLAG | COMMAND_LINE_PRINT,
nullptr,
nullptr,
nullptr, -1,
347 nullptr,
"[DEPRECATED, use /list:smartcard] List smartcard information" },
348 {
"monitor-list", COMMAND_LINE_VALUE_FLAG | COMMAND_LINE_PRINT,
nullptr,
nullptr,
nullptr, -1,
349 nullptr,
"[DEPRECATED, use /list:monitor] List detected monitors" },
351 {
"monitors", COMMAND_LINE_VALUE_REQUIRED,
"<id>[:<desktop>[:<device>]][,...]",
nullptr,
352 nullptr, -1,
nullptr,
353 "[experimental] Select monitors to use (only effective in fullscreen or multimonitor mode). "
354 "IDs are shown by /list:monitor. Optionally override the remote scale of a monitor: "
355 "desktop 100..500, device 100, 140 or 180 (default 100). A monitor without a scale keeps "
356 "the detected value. Cannot be combined with /scale-desktop or /scale-device" },
357 {
"mouse-motion", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
358 "Send mouse motion events" },
359 {
"mouse-relative", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
360 "Send mouse motion with relative addressing" },
361 {
"mouse", COMMAND_LINE_VALUE_REQUIRED,
"[relative:[on|off],grab:[on|off]]",
nullptr,
nullptr,
363 "Mouse related options:\n"
364 " * relative: send relative mouse movements if supported by server\n"
365 " * grab: grab the mouse if within the window" },
366#if defined(CHANNEL_TSMF_CLIENT)
367 {
"multimedia", COMMAND_LINE_VALUE_OPTIONAL,
"[sys:<sys>,][dev:<dev>,][decoder:<decoder>]",
368 nullptr,
nullptr, -1,
"mmr",
"[DEPRECATED], use /video] Redirect multimedia (video)" },
370 {
"multimon", COMMAND_LINE_VALUE_BOOL | COMMAND_LINE_VALUE_OPTIONAL,
"on|off|force",
371 BoolValueFalse,
nullptr, -1,
nullptr,
"Use multiple monitors" },
372 {
"multitouch", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
373 "Redirect multitouch input" },
374#if defined(WITH_RDPEUDP)
375 {
"multitransport", COMMAND_LINE_VALUE_BOOL | COMMAND_LINE_VALUE_OPTIONAL,
376 "[tcp-only|udp|udp-preferred]", BoolValueTrue,
nullptr, -1,
nullptr,
377 "Support multitransport protocol. With tcp-only just enable the capability but deny an "
378 "actual switch UDP transport. udp (the default) enables the switch to UDP transport, "
379 "udp-preferred also tunnels the static channels over it" },
381 {
"multitransport", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
382 "Support multitransport protocol" },
384 {
"nego", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
385 "protocol security negotiation" },
386 {
"network", COMMAND_LINE_VALUE_REQUIRED,
387 "[invalid|modem|broadband|broadband-low|broadband-high|wan|lan|auto]",
nullptr,
nullptr, -1,
388 nullptr,
"Network connection type" },
389 {
"nsc", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
"nscodec",
"NSCodec support" },
390#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
391 {
"offscreen-cache", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
392 "[DEPRECATED, use /cache:offscreen[:on|off]] offscreen bitmap cache" },
394 {
"orientation", COMMAND_LINE_VALUE_REQUIRED,
"[0|90|180|270]",
nullptr,
nullptr, -1,
nullptr,
395 "Orientation of display in degrees" },
396 {
"old-license", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
397 "Use the old license workflow (no CAL and hwId set to 0)" },
398 {
"p", COMMAND_LINE_VALUE_OPTIONAL,
"<password>",
nullptr,
nullptr, -1,
nullptr,
399 "Password. Pass /p without arguments to silences interactive password prompts if no "
400 "credentials are required for the connection." },
401#if defined(CHANNEL_PARALLEL_CLIENT)
402 {
"parallel", COMMAND_LINE_VALUE_OPTIONAL,
"<name>[,<path>]",
nullptr,
nullptr, -1,
nullptr,
403 "Redirect parallel device" },
405 {
"parent-window", COMMAND_LINE_VALUE_REQUIRED,
"<window-id>",
nullptr,
nullptr, -1,
nullptr,
406 "Parent window id" },
407 {
"pcb", COMMAND_LINE_VALUE_REQUIRED,
"<blob>",
nullptr,
nullptr, -1,
nullptr,
408 "Preconnection Blob" },
409 {
"pcid", COMMAND_LINE_VALUE_REQUIRED,
"<id>",
nullptr,
nullptr, -1,
nullptr,
410 "Preconnection Id" },
411 {
"pheight", COMMAND_LINE_VALUE_REQUIRED,
"<height>",
nullptr,
nullptr, -1,
nullptr,
412 "Physical height of display (in millimeters)" },
413 {
"play-rfx", COMMAND_LINE_VALUE_REQUIRED,
"<pcap-file>",
nullptr,
nullptr, -1,
nullptr,
414 "Replay rfx pcap file" },
415 {
"port", COMMAND_LINE_VALUE_REQUIRED,
"<number>",
nullptr,
nullptr, -1,
nullptr,
417 {
"suppress-output", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
418 "suppress output when minimized" },
419 {
"print-reconnect-cookie", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
420 nullptr,
"Print base64 reconnect cookie after connecting" },
421 {
"printer", COMMAND_LINE_VALUE_OPTIONAL,
"<name>[,<driver>[,default]]",
nullptr,
nullptr, -1,
422 nullptr,
"Redirect printer device" },
423 {
"proxy", COMMAND_LINE_VALUE_REQUIRED,
424 "[ignore|[<proto>://][<user>:<password>@]<host>[:<port>]]",
nullptr,
nullptr, -1,
nullptr,
425 "Proxy settings: override env. var (see also environment variable below). Protocol "
426 "\"socks5\" should be given explicitly where \"http\" is default." },
427 {
"pth", COMMAND_LINE_VALUE_REQUIRED,
"<password-hash>",
nullptr,
nullptr, -1,
"pass-the-hash",
428 "Pass the hash (restricted admin mode)" },
429 {
"pwidth", COMMAND_LINE_VALUE_REQUIRED,
"<width>",
nullptr,
nullptr, -1,
nullptr,
430 "Physical width of display (in millimeters)" },
431#if !defined(WITHOUT_FREERDP_3x_DEPRECATED)
432 {
"rdp2tcp", COMMAND_LINE_VALUE_REQUIRED,
"<executable path[:arg...]>",
nullptr,
nullptr, -1,
433 nullptr,
"TCP redirection" },
435 {
"reconnect-cookie", COMMAND_LINE_VALUE_REQUIRED,
"<base64-cookie>",
nullptr,
nullptr, -1,
436 nullptr,
"Pass base64 reconnect cookie to the connection" },
437 {
"redirect-prefer", COMMAND_LINE_VALUE_REQUIRED,
"<FQDN|IP|NETBIOS>,[...]",
nullptr,
nullptr,
438 -1,
nullptr,
"Override the preferred redirection order" },
439 {
"relax-order-checks", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
440 "relax-order-checks",
441 "Do not check if a RDP order was announced during capability exchange, only use when "
442 "connecting to a buggy server" },
443 {
"restricted-admin", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
"restrictedAdmin",
444 "Restricted admin mode" },
445#ifdef CHANNEL_RDPEAR_CLIENT
446 {
"remoteGuard", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
"remoteGuard",
447 "Remote guard credentials" },
449 {
"rfx", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
nullptr,
"RemoteFX" },
450 {
"rfx-mode", COMMAND_LINE_VALUE_REQUIRED,
"[image|video]",
nullptr,
nullptr, -1,
nullptr,
452 {
"scale", COMMAND_LINE_VALUE_REQUIRED,
"[100|140|180]",
"100",
nullptr, -1,
nullptr,
453 "Scaling factor of the display" },
454 {
"scale-desktop", COMMAND_LINE_VALUE_REQUIRED,
"<percentage>",
"100",
nullptr, -1,
nullptr,
455 "Scaling factor for desktop applications (value between 100 and 500)" },
456 {
"scale-device", COMMAND_LINE_VALUE_REQUIRED,
"100|140|180",
"100",
nullptr, -1,
nullptr,
457 "Scaling factor for app store applications" },
458 {
"sec", COMMAND_LINE_VALUE_REQUIRED,
459 "rdp[:[on|off]]|tls[:[on|off]]|nla[:[on|off]]|ext[:[on|off]]|aad[:[on|off]]",
nullptr,
460 nullptr, -1,
nullptr,
461 "Force specific protocol security. e.g. /sec:nla enables NLA and disables all others, while "
462 "/sec:nla:[on|off] just toggles NLA" },
463#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
464 {
"sec-ext", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
465 "[DEPRECATED, use /sec:ext] NLA extended protocol security" },
466 {
"sec-nla", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
467 "[DEPRECATED, use /sec:nla] NLA protocol security" },
468 {
"sec-rdp", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
469 "[DEPRECATED, use /sec:rdp] RDP protocol security" },
470 {
"sec-tls", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
471 "[DEPRECATED, use /sec:tls] TLS protocol security" },
473#if defined(CHANNEL_SERIAL_CLIENT)
474 {
"serial", COMMAND_LINE_VALUE_OPTIONAL,
"<name>[,<path>[,<driver>[,permissive]]]",
nullptr,
475 nullptr, -1,
"tty",
"Redirect serial device" },
477 {
"server-name", COMMAND_LINE_VALUE_REQUIRED,
"<name>",
nullptr,
nullptr, -1,
nullptr,
478 "User-specified server name to use for validation (TLS, Kerberos)" },
479 {
"shell", COMMAND_LINE_VALUE_REQUIRED,
"<shell>",
nullptr,
nullptr, -1,
nullptr,
481 {
"shell-dir", COMMAND_LINE_VALUE_REQUIRED,
"<dir>",
nullptr,
nullptr, -1,
nullptr,
482 "Shell working directory" },
483 {
"size", COMMAND_LINE_VALUE_REQUIRED,
"<width>x<height> or <percent>%[wh]",
"1024x768",
484 nullptr, -1,
nullptr,
"Screen size" },
485 {
"smart-sizing", COMMAND_LINE_VALUE_BOOL | COMMAND_LINE_VALUE_OPTIONAL,
486 "<width>x<height>|on|off", BoolValueFalse,
nullptr, -1,
nullptr,
487 "Scale remote desktop to window size" },
488 {
"smartcard", COMMAND_LINE_VALUE_OPTIONAL,
"<str>[,<str>...]",
nullptr,
nullptr, -1,
nullptr,
489 "Redirect the smartcard devices containing any of the <str> in their names." },
490 {
"smartcard-logon", COMMAND_LINE_VALUE_OPTIONAL,
491 "[[cert:<path>|cert:<base64(PEM)>],[key:<path>|key:<base64(PEM)>],pin:<pin>,csp:<csp "
492 "name>,reader:<reader>,card:<card>]",
493 nullptr,
nullptr, -1,
nullptr,
494 "Activates Smartcard (optional certificate) Logon authentication." },
495 {
"sound", COMMAND_LINE_VALUE_OPTIONAL,
496 "[sys:<sys>,][dev:<dev>,][format:<format>,][rate:<rate>,][channel:<channel>,][latency:<"
497 "latency>,][quality:<quality>]",
498 nullptr,
nullptr, -1,
"audio",
499 "Audio output (sound). <format> is a format tag (e.g. 0x704F) or its WAVE_FORMAT_ "
500 "name with or without the prefix (e.g. opus, pcm, alaw, aac_ms)" },
501 {
"span", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
nullptr,
502 "Span screen over multiple monitors" },
503 {
"spn-class", COMMAND_LINE_VALUE_REQUIRED,
"<service-class>",
nullptr,
nullptr, -1,
nullptr,
504 "SPN authentication service class" },
505 {
"ssh-agent", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
"ssh-agent",
506 "SSH Agent forwarding channel" },
507 {
"sspi-module", COMMAND_LINE_VALUE_REQUIRED,
"<SSPI module path>",
nullptr,
nullptr, -1,
508 nullptr,
"SSPI shared library module file path" },
509 {
"winscard-module", COMMAND_LINE_VALUE_REQUIRED,
"<WinSCard module path>",
nullptr,
nullptr,
510 -1,
nullptr,
"WinSCard shared library module file path" },
511 {
"disable-output", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
nullptr,
512 "Deactivate all graphics decoding in the client session. Useful for load tests with many "
513 "simultaneous connections" },
514 {
"t", COMMAND_LINE_VALUE_REQUIRED,
"<title>",
nullptr,
nullptr, -1,
"title",
"Window title" },
515 {
"themes", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
"themes" },
516 {
"timeout", COMMAND_LINE_VALUE_REQUIRED,
"<time in ms>",
"9000",
nullptr, -1,
"timeout",
517 "Advanced setting for high latency links: Adjust connection timeout, use if you encounter "
518 "timeout failures with your connection" },
519 {
"timezone", COMMAND_LINE_VALUE_REQUIRED,
"<windows timezone>",
nullptr,
nullptr, -1,
nullptr,
520 "Use supplied windows timezone for connection (requires server support), see /list:timezones "
521 "for allowed values" },
522 {
"tls", COMMAND_LINE_VALUE_REQUIRED,
"[ciphers|seclevel|secrets-file|enforce]",
nullptr,
523 nullptr, -1,
nullptr,
524 "TLS configuration options:"
525 " * ciphers:[netmon|ma|<cipher names>]\n"
526 " * seclevel:<level>, default: 1, range: [0-5] Override the default TLS security level, "
527 "might be required for older target servers. Details at "
528 "https://docs.openssl.org/3.0/man3/SSL_CTX_set_security_level/\n"
529 " * secrets-file:<filename>\n"
530 " * enforce[:[ssl3|1.0|1.1|1.2|1.3]] Force use of SSL/TLS version for a connection. Some "
531 "servers have a buggy TLS "
532 "version negotiation and might fail without this. Defaults to TLS 1.2 if no argument is "
533 "supplied. Use 1.0 for windows 7" },
534#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
535 {
"tls-ciphers", COMMAND_LINE_VALUE_REQUIRED,
"[netmon|ma|ciphers]",
nullptr,
nullptr, -1,
536 nullptr,
"[DEPRECATED, use /tls:ciphers] Allowed TLS ciphers" },
537 {
"tls-seclevel", COMMAND_LINE_VALUE_REQUIRED,
"<level>",
"1",
nullptr, -1,
nullptr,
538 "[DEPRECATED, use /tls:seclevel] TLS security level - defaults to 1" },
539 {
"tls-secrets-file", COMMAND_LINE_VALUE_REQUIRED,
"<filename>",
nullptr,
nullptr, -1,
nullptr,
540 "[DEPRECATED, use /tls:secrets:file] File were TLS secrets will be stored in the "
541 "SSLKEYLOGFILE format" },
542 {
"enforce-tlsv1_2", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
543 "[DEPRECATED, use /tls:enforce:1.2] Force use of TLS1.2 for connection. Some "
544 "servers have a buggy TLS version negotiation and "
545 "might fail without this" },
547 {
"toggle-fullscreen", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
548 "Alt+Ctrl+Enter to toggle fullscreen" },
549 {
"tune", COMMAND_LINE_VALUE_REQUIRED,
"<setting:value>,<setting:value>",
"",
nullptr, -1,
550 nullptr,
"[experimental] directly manipulate freerdp settings, use with extreme caution!" },
551#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
552 {
"tune-list", COMMAND_LINE_VALUE_FLAG | COMMAND_LINE_PRINT,
nullptr,
nullptr,
nullptr, -1,
553 nullptr,
"[DEPRECATED, use /list:tune] Print options allowed for /tune" },
555 {
"u", COMMAND_LINE_VALUE_REQUIRED,
"[[<domain>\\]<user>|<user>[@<domain>]]",
nullptr,
nullptr,
556 -1,
nullptr,
"Username" },
557 {
"unmap-buttons", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
558 "Let server see real physical pointer button" },
559#ifdef CHANNEL_URBDRC_CLIENT
560 {
"usb", COMMAND_LINE_VALUE_REQUIRED,
561 "[dbg,][id:<vid>:<pid>#...,][addr:<bus>:<addr>#...,][auto,][filter:<class>#...|none]",
562 nullptr,
nullptr, -1,
nullptr,
"Redirect USB device" },
564 {
"v", COMMAND_LINE_VALUE_REQUIRED,
"<server>[:port]",
nullptr,
nullptr, -1,
nullptr,
565 "Server hostname|URL|IPv4|IPv6 or vsock://<number> or /some/path/to/pipe or |:1234 to pass a "
566 "TCP socket to use" },
567 {
"vc", COMMAND_LINE_VALUE_REQUIRED,
"<channel>[,<options>]",
nullptr,
nullptr, -1,
nullptr,
568 "Static virtual channel" },
569 {
"version", COMMAND_LINE_VALUE_FLAG | COMMAND_LINE_PRINT_VERSION,
nullptr,
nullptr,
nullptr,
570 -1,
nullptr,
"Print version" },
571 {
"video", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
nullptr,
572 "Video optimized remoting channel" },
573 {
"prevent-session-lock", COMMAND_LINE_VALUE_OPTIONAL,
"<time in sec>",
nullptr,
nullptr, -1,
575 "Prevent session locking by injecting fake mouse motion events to the server "
576 "when the connection is idle (default interval: 180 seconds)" },
577 {
"vmconnect", COMMAND_LINE_VALUE_OPTIONAL,
"<vmid>",
nullptr,
nullptr, -1,
nullptr,
578 "Hyper-V console (use port 2179, disable negotiation)" },
579 {
"w", COMMAND_LINE_VALUE_REQUIRED,
"<width>",
"1024",
nullptr, -1,
nullptr,
"Width" },
580 {
"wallpaper", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueTrue,
nullptr, -1,
nullptr,
582 {
"window-drag", COMMAND_LINE_VALUE_BOOL,
nullptr, BoolValueFalse,
nullptr, -1,
nullptr,
583 "full window drag" },
584 {
"window-position", COMMAND_LINE_VALUE_REQUIRED,
"<xpos>x<ypos>",
nullptr,
nullptr, -1,
585 nullptr,
"window position" },
586 {
"wm-class", COMMAND_LINE_VALUE_REQUIRED,
"<class-name>",
nullptr,
nullptr, -1,
nullptr,
587 "Set the WM_CLASS hint for the window instance" },
588 {
"workarea", COMMAND_LINE_VALUE_FLAG,
nullptr,
nullptr,
nullptr, -1,
nullptr,
589 "Use available work area" },
590 {
nullptr, 0,
nullptr,
nullptr,
nullptr, -1,
nullptr,
nullptr }