1 /*************************************************************************** 2 * _ _ ____ _ 3 * Project ___| | | | _ \| | 4 * / __| | | | |_) | | 5 * | (__| |_| | _ <| |___ 6 * \___|\___/|_| \_\_____| 7 * 8 * Copyright (C) Daniel Stenberg, <daniel.se>, et al. 9 * 10 * This software is licensed as described in the file COPYING, which 11 * you should have received as part of this distribution. The terms 12 * are also available at https://curl.se/docs/copyright.html. 13 * 14 * You may opt to use, copy, modify, merge, publish, distribute and/or sell 15 * copies of the Software, and permit persons to whom the Software is 16 * furnished to do so, under the terms of the COPYING file. 17 * 18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 19 * KIND, either express or implied. 20 * 21 * SPDX-License-Identifier: curl 22 * 23 ***************************************************************************/ 24 #include "tool_setup.h" 25 #include "tool_help.h" 26 27 /* 28 * DO NOT edit tool_listhelp.c manually. 29 * This source file is generated with the following command: 30 31 cd $srcroot/docs/cmdline-opts 32 ./gen.pl listhelp *.d > $srcroot/src/tool_listhelp.c 33 */ 34 35 const struct helptxt helptext[] = { 36 {" --abstract-unix-socket <path>", 37 "Connect via abstract Unix domain socket", 38 CURLHELP_CONNECTION}, 39 {" --alt-svc <file name>", 40 "Enable alt-svc with this cache file", 41 CURLHELP_HTTP}, 42 {" --anyauth", 43 "Pick any authentication method", 44 CURLHELP_HTTP | CURLHELP_PROXY | CURLHELP_AUTH}, 45 {"-a, --append", 46 "Append to target file when uploading", 47 CURLHELP_FTP | CURLHELP_SFTP}, 48 {" --aws-sigv4 <provider1[:provider2[:region[:service]]]>", 49 "Use AWS V4 signature authentication", 50 CURLHELP_AUTH | CURLHELP_HTTP}, 51 {" --basic", 52 "Use HTTP Basic Authentication", 53 CURLHELP_AUTH}, 54 {" --cacert <file>", 55 "CA certificate to verify peer against", 56 CURLHELP_TLS}, 57 {" --capath <dir>", 58 "CA directory to verify peer against", 59 CURLHELP_TLS}, 60 {"-E, --cert <certificate[:password]>", 61 "Client certificate file and password", 62 CURLHELP_TLS}, 63 {" --cert-status", 64 "Verify the status of the server cert via OCSP-staple", 65 CURLHELP_TLS}, 66 {" --cert-type <type>", 67 "Certificate type (DER/PEM/ENG/P12)", 68 CURLHELP_TLS}, 69 {" --ciphers <list of ciphers>", 70 "SSL ciphers to use", 71 CURLHELP_TLS}, 72 {" --compressed", 73 "Request compressed response", 74 CURLHELP_HTTP}, 75 {" --compressed-ssh", 76 "Enable SSH compression", 77 CURLHELP_SCP | CURLHELP_SSH}, 78 {"-K, --config <file>", 79 "Read config from a file", 80 CURLHELP_CURL}, 81 {" --connect-timeout <fractional seconds>", 82 "Maximum time allowed for connection", 83 CURLHELP_CONNECTION}, 84 {" --connect-to <HOST1:PORT1:HOST2:PORT2>", 85 "Connect to host", 86 CURLHELP_CONNECTION}, 87 {"-C, --continue-at <offset>", 88 "Resumed transfer offset", 89 CURLHELP_CONNECTION}, 90 {"-b, --cookie <data|filename>", 91 "Send cookies from string/file", 92 CURLHELP_HTTP}, 93 {"-c, --cookie-jar <filename>", 94 "Write cookies to <filename> after operation", 95 CURLHELP_HTTP}, 96 {" --create-dirs", 97 "Create necessary local directory hierarchy", 98 CURLHELP_CURL}, 99 {" --create-file-mode <mode>", 100 "File mode for created files", 101 CURLHELP_SFTP | CURLHELP_SCP | CURLHELP_FILE | CURLHELP_UPLOAD}, 102 {" --crlf", 103 "Convert LF to CRLF in upload", 104 CURLHELP_FTP | CURLHELP_SMTP}, 105 {" --crlfile <file>", 106 "Use this CRL list", 107 CURLHELP_TLS}, 108 {" --curves <algorithm list>", 109 "(EC) TLS key exchange algorithm(s) to request", 110 CURLHELP_TLS}, 111 {"-d, --data <data>", 112 "HTTP POST data", 113 CURLHELP_IMPORTANT | CURLHELP_HTTP | CURLHELP_POST | CURLHELP_UPLOAD}, 114 {" --data-ascii <data>", 115 "HTTP POST ASCII data", 116 CURLHELP_HTTP | CURLHELP_POST | CURLHELP_UPLOAD}, 117 {" --data-binary <data>", 118 "HTTP POST binary data", 119 CURLHELP_HTTP | CURLHELP_POST | CURLHELP_UPLOAD}, 120 {" --data-raw <data>", 121 "HTTP POST data, '@' allowed", 122 CURLHELP_HTTP | CURLHELP_POST | CURLHELP_UPLOAD}, 123 {" --data-urlencode <data>", 124 "HTTP POST data URL encoded", 125 CURLHELP_HTTP | CURLHELP_POST | CURLHELP_UPLOAD}, 126 {" --delegation <LEVEL>", 127 "GSS-API delegation permission", 128 CURLHELP_AUTH}, 129 {" --digest", 130 "Use HTTP Digest Authentication", 131 CURLHELP_PROXY | CURLHELP_AUTH | CURLHELP_HTTP}, 132 {"-q, --disable", 133 "Disable .curlrc", 134 CURLHELP_CURL}, 135 {" --disable-eprt", 136 "Inhibit using EPRT or LPRT", 137 CURLHELP_FTP}, 138 {" --disable-epsv", 139 "Inhibit using EPSV", 140 CURLHELP_FTP}, 141 {" --disallow-username-in-url", 142 "Disallow username in URL", 143 CURLHELP_CURL | CURLHELP_HTTP}, 144 {" --dns-interface <interface>", 145 "Interface to use for DNS requests", 146 CURLHELP_DNS}, 147 {" --dns-ipv4-addr <address>", 148 "IPv4 address to use for DNS requests", 149 CURLHELP_DNS}, 150 {" --dns-ipv6-addr <address>", 151 "IPv6 address to use for DNS requests", 152 CURLHELP_DNS}, 153 {" --dns-servers <addresses>", 154 "DNS server addrs to use", 155 CURLHELP_DNS}, 156 {" --doh-cert-status", 157 "Verify the status of the DoH server cert via OCSP-staple", 158 CURLHELP_DNS | CURLHELP_TLS}, 159 {" --doh-insecure", 160 "Allow insecure DoH server connections", 161 CURLHELP_DNS | CURLHELP_TLS}, 162 {" --doh-url <URL>", 163 "Resolve host names over DoH", 164 CURLHELP_DNS}, 165 {"-D, --dump-header <filename>", 166 "Write the received headers to <filename>", 167 CURLHELP_HTTP | CURLHELP_FTP}, 168 {" --egd-file <file>", 169 "EGD socket path for random data", 170 CURLHELP_TLS}, 171 {" --engine <name>", 172 "Crypto engine to use", 173 CURLHELP_TLS}, 174 {" --etag-compare <file>", 175 "Pass an ETag from a file as a custom header", 176 CURLHELP_HTTP}, 177 {" --etag-save <file>", 178 "Parse ETag from a request and save it to a file", 179 CURLHELP_HTTP}, 180 {" --expect100-timeout <seconds>", 181 "How long to wait for 100-continue", 182 CURLHELP_HTTP}, 183 {"-f, --fail", 184 "Fail fast with no output on HTTP errors", 185 CURLHELP_IMPORTANT | CURLHELP_HTTP}, 186 {" --fail-early", 187 "Fail on first transfer error, do not continue", 188 CURLHELP_CURL}, 189 {" --fail-with-body", 190 "Fail on HTTP errors but save the body", 191 CURLHELP_HTTP | CURLHELP_OUTPUT}, 192 {" --false-start", 193 "Enable TLS False Start", 194 CURLHELP_TLS}, 195 {"-F, --form <name=content>", 196 "Specify multipart MIME data", 197 CURLHELP_HTTP | CURLHELP_UPLOAD}, 198 {" --form-escape", 199 "Escape multipart form field/file names using backslash", 200 CURLHELP_HTTP | CURLHELP_UPLOAD}, 201 {" --form-string <name=string>", 202 "Specify multipart MIME data", 203 CURLHELP_HTTP | CURLHELP_UPLOAD}, 204 {" --ftp-account <data>", 205 "Account data string", 206 CURLHELP_FTP | CURLHELP_AUTH}, 207 {" --ftp-alternative-to-user <command>", 208 "String to replace USER [name]", 209 CURLHELP_FTP}, 210 {" --ftp-create-dirs", 211 "Create the remote dirs if not present", 212 CURLHELP_FTP | CURLHELP_SFTP | CURLHELP_CURL}, 213 {" --ftp-method <method>", 214 "Control CWD usage", 215 CURLHELP_FTP}, 216 {" --ftp-pasv", 217 "Use PASV/EPSV instead of PORT", 218 CURLHELP_FTP}, 219 {"-P, --ftp-port <address>", 220 "Use PORT instead of PASV", 221 CURLHELP_FTP}, 222 {" --ftp-pret", 223 "Send PRET before PASV", 224 CURLHELP_FTP}, 225 {" --ftp-skip-pasv-ip", 226 "Skip the IP address for PASV", 227 CURLHELP_FTP}, 228 {" --ftp-ssl-ccc", 229 "Send CCC after authenticating", 230 CURLHELP_FTP | CURLHELP_TLS}, 231 {" --ftp-ssl-ccc-mode <active/passive>", 232 "Set CCC mode", 233 CURLHELP_FTP | CURLHELP_TLS}, 234 {" --ftp-ssl-control", 235 "Require SSL/TLS for FTP login, clear for transfer", 236 CURLHELP_FTP | CURLHELP_TLS}, 237 {"-G, --get", 238 "Put the post data in the URL and use GET", 239 CURLHELP_HTTP | CURLHELP_UPLOAD}, 240 {"-g, --globoff", 241 "Disable URL sequences and ranges using {} and []", 242 CURLHELP_CURL}, 243 {" --happy-eyeballs-timeout-ms <milliseconds>", 244 "Time for IPv6 before trying IPv4", 245 CURLHELP_CONNECTION}, 246 {" --haproxy-protocol", 247 "Send HAProxy PROXY protocol v1 header", 248 CURLHELP_HTTP | CURLHELP_PROXY}, 249 {"-I, --head", 250 "Show document info only", 251 CURLHELP_HTTP | CURLHELP_FTP | CURLHELP_FILE}, 252 {"-H, --header <header/@file>", 253 "Pass custom header(s) to server", 254 CURLHELP_HTTP | CURLHELP_IMAP | CURLHELP_SMTP}, 255 {"-h, --help <category>", 256 "Get help for commands", 257 CURLHELP_IMPORTANT | CURLHELP_CURL}, 258 {" --hostpubmd5 <md5>", 259 "Acceptable MD5 hash of the host public key", 260 CURLHELP_SFTP | CURLHELP_SCP}, 261 {" --hostpubsha256 <sha256>", 262 "Acceptable SHA256 hash of the host public key", 263 CURLHELP_SFTP | CURLHELP_SCP}, 264 {" --hsts <file name>", 265 "Enable HSTS with this cache file", 266 CURLHELP_HTTP}, 267 {" --http0.9", 268 "Allow HTTP 0.9 responses", 269 CURLHELP_HTTP}, 270 {"-0, --http1.0", 271 "Use HTTP 1.0", 272 CURLHELP_HTTP}, 273 {" --http1.1", 274 "Use HTTP 1.1", 275 CURLHELP_HTTP}, 276 {" --http2", 277 "Use HTTP 2", 278 CURLHELP_HTTP}, 279 {" --http2-prior-knowledge", 280 "Use HTTP 2 without HTTP/1.1 Upgrade", 281 CURLHELP_HTTP}, 282 {" --http3", 283 "Use HTTP v3", 284 CURLHELP_HTTP}, 285 {" --http3-only", 286 "Use HTTP v3 only", 287 CURLHELP_HTTP}, 288 {" --ignore-content-length", 289 "Ignore the size of the remote resource", 290 CURLHELP_HTTP | CURLHELP_FTP}, 291 {"-i, --include", 292 "Include protocol response headers in the output", 293 CURLHELP_IMPORTANT | CURLHELP_VERBOSE}, 294 {"-k, --insecure", 295 "Allow insecure server connections", 296 CURLHELP_TLS | CURLHELP_SFTP | CURLHELP_SCP}, 297 {" --interface <name>", 298 "Use network INTERFACE (or address)", 299 CURLHELP_CONNECTION}, 300 {"-4, --ipv4", 301 "Resolve names to IPv4 addresses", 302 CURLHELP_CONNECTION | CURLHELP_DNS}, 303 {"-6, --ipv6", 304 "Resolve names to IPv6 addresses", 305 CURLHELP_CONNECTION | CURLHELP_DNS}, 306 {" --json <data>", 307 "HTTP POST JSON", 308 CURLHELP_HTTP | CURLHELP_POST | CURLHELP_UPLOAD}, 309 {"-j, --junk-session-cookies", 310 "Ignore session cookies read from file", 311 CURLHELP_HTTP}, 312 {" --keepalive-time <seconds>", 313 "Interval time for keepalive probes", 314 CURLHELP_CONNECTION}, 315 {" --key <key>", 316 "Private key file name", 317 CURLHELP_TLS | CURLHELP_SSH}, 318 {" --key-type <type>", 319 "Private key file type (DER/PEM/ENG)", 320 CURLHELP_TLS}, 321 {" --krb <level>", 322 "Enable Kerberos with security <level>", 323 CURLHELP_FTP}, 324 {" --libcurl <file>", 325 "Dump libcurl equivalent code of this command line", 326 CURLHELP_CURL}, 327 {" --limit-rate <speed>", 328 "Limit transfer speed to RATE", 329 CURLHELP_CONNECTION}, 330 {"-l, --list-only", 331 "List only mode", 332 CURLHELP_FTP | CURLHELP_POP3}, 333 {" --local-port <num/range>", 334 "Force use of RANGE for local port numbers", 335 CURLHELP_CONNECTION}, 336 {"-L, --location", 337 "Follow redirects", 338 CURLHELP_HTTP}, 339 {" --location-trusted", 340 "Like --location, and send auth to other hosts", 341 CURLHELP_HTTP | CURLHELP_AUTH}, 342 {" --login-options <options>", 343 "Server login options", 344 CURLHELP_IMAP | CURLHELP_POP3 | CURLHELP_SMTP | CURLHELP_AUTH}, 345 {" --mail-auth <address>", 346 "Originator address of the original email", 347 CURLHELP_SMTP}, 348 {" --mail-from <address>", 349 "Mail from this address", 350 CURLHELP_SMTP}, 351 {" --mail-rcpt <address>", 352 "Mail to this address", 353 CURLHELP_SMTP}, 354 {" --mail-rcpt-allowfails", 355 "Allow RCPT TO command to fail for some recipients", 356 CURLHELP_SMTP}, 357 {"-M, --manual", 358 "Display the full manual", 359 CURLHELP_CURL}, 360 {" --max-filesize <bytes>", 361 "Maximum file size to download", 362 CURLHELP_CONNECTION}, 363 {" --max-redirs <num>", 364 "Maximum number of redirects allowed", 365 CURLHELP_HTTP}, 366 {"-m, --max-time <fractional seconds>", 367 "Maximum time allowed for transfer", 368 CURLHELP_CONNECTION}, 369 {" --metalink", 370 "Process given URLs as metalink XML file", 371 CURLHELP_MISC}, 372 {" --negotiate", 373 "Use HTTP Negotiate (SPNEGO) authentication", 374 CURLHELP_AUTH | CURLHELP_HTTP}, 375 {"-n, --netrc", 376 "Must read .netrc for user name and password", 377 CURLHELP_CURL}, 378 {" --netrc-file <filename>", 379 "Specify FILE for netrc", 380 CURLHELP_CURL}, 381 {" --netrc-optional", 382 "Use either .netrc or URL", 383 CURLHELP_CURL}, 384 {"-:, --next", 385 "Make next URL use its separate set of options", 386 CURLHELP_CURL}, 387 {" --no-alpn", 388 "Disable the ALPN TLS extension", 389 CURLHELP_TLS | CURLHELP_HTTP}, 390 {"-N, --no-buffer", 391 "Disable buffering of the output stream", 392 CURLHELP_CURL}, 393 {" --no-clobber", 394 "Do not overwrite files that already exist", 395 CURLHELP_CURL | CURLHELP_OUTPUT}, 396 {" --no-keepalive", 397 "Disable TCP keepalive on the connection", 398 CURLHELP_CONNECTION}, 399 {" --no-npn", 400 "Disable the NPN TLS extension", 401 CURLHELP_TLS | CURLHELP_HTTP}, 402 {" --no-progress-meter", 403 "Do not show the progress meter", 404 CURLHELP_VERBOSE}, 405 {" --no-sessionid", 406 "Disable SSL session-ID reusing", 407 CURLHELP_TLS}, 408 {" --noproxy <no-proxy-list>", 409 "List of hosts which do not use proxy", 410 CURLHELP_PROXY}, 411 {" --ntlm", 412 "Use HTTP NTLM authentication", 413 CURLHELP_AUTH | CURLHELP_HTTP}, 414 {" --ntlm-wb", 415 "Use HTTP NTLM authentication with winbind", 416 CURLHELP_AUTH | CURLHELP_HTTP}, 417 {" --oauth2-bearer <token>", 418 "OAuth 2 Bearer Token", 419 CURLHELP_AUTH}, 420 {"-o, --output <file>", 421 "Write to file instead of stdout", 422 CURLHELP_IMPORTANT | CURLHELP_CURL}, 423 {" --output-dir <dir>", 424 "Directory to save files in", 425 CURLHELP_CURL}, 426 {"-Z, --parallel", 427 "Perform transfers in parallel", 428 CURLHELP_CONNECTION | CURLHELP_CURL}, 429 {" --parallel-immediate", 430 "Do not wait for multiplexing (with --parallel)", 431 CURLHELP_CONNECTION | CURLHELP_CURL}, 432 {" --parallel-max <num>", 433 "Maximum concurrency for parallel transfers", 434 CURLHELP_CONNECTION | CURLHELP_CURL}, 435 {" --pass <phrase>", 436 "Pass phrase for the private key", 437 CURLHELP_SSH | CURLHELP_TLS | CURLHELP_AUTH}, 438 {" --path-as-is", 439 "Do not squash .. sequences in URL path", 440 CURLHELP_CURL}, 441 {" --pinnedpubkey <hashes>", 442 "FILE/HASHES Public key to verify peer against", 443 CURLHELP_TLS}, 444 {" --post301", 445 "Do not switch to GET after following a 301", 446 CURLHELP_HTTP | CURLHELP_POST}, 447 {" --post302", 448 "Do not switch to GET after following a 302", 449 CURLHELP_HTTP | CURLHELP_POST}, 450 {" --post303", 451 "Do not switch to GET after following a 303", 452 CURLHELP_HTTP | CURLHELP_POST}, 453 {" --preproxy [protocol://]host[:port]", 454 "Use this proxy first", 455 CURLHELP_PROXY}, 456 {"-#, --progress-bar", 457 "Display transfer progress as a bar", 458 CURLHELP_VERBOSE}, 459 {" --proto <protocols>", 460 "Enable/disable PROTOCOLS", 461 CURLHELP_CONNECTION | CURLHELP_CURL}, 462 {" --proto-default <protocol>", 463 "Use PROTOCOL for any URL missing a scheme", 464 CURLHELP_CONNECTION | CURLHELP_CURL}, 465 {" --proto-redir <protocols>", 466 "Enable/disable PROTOCOLS on redirect", 467 CURLHELP_CONNECTION | CURLHELP_CURL}, 468 {"-x, --proxy [protocol://]host[:port]", 469 "Use this proxy", 470 CURLHELP_PROXY}, 471 {" --proxy-anyauth", 472 "Pick any proxy authentication method", 473 CURLHELP_PROXY | CURLHELP_AUTH}, 474 {" --proxy-basic", 475 "Use Basic authentication on the proxy", 476 CURLHELP_PROXY | CURLHELP_AUTH}, 477 {" --proxy-cacert <file>", 478 "CA certificate to verify peer against for proxy", 479 CURLHELP_PROXY | CURLHELP_TLS}, 480 {" --proxy-capath <dir>", 481 "CA directory to verify peer against for proxy", 482 CURLHELP_PROXY | CURLHELP_TLS}, 483 {" --proxy-cert <cert[:passwd]>", 484 "Set client certificate for proxy", 485 CURLHELP_PROXY | CURLHELP_TLS}, 486 {" --proxy-cert-type <type>", 487 "Client certificate type for HTTPS proxy", 488 CURLHELP_PROXY | CURLHELP_TLS}, 489 {" --proxy-ciphers <list>", 490 "SSL ciphers to use for proxy", 491 CURLHELP_PROXY | CURLHELP_TLS}, 492 {" --proxy-crlfile <file>", 493 "Set a CRL list for proxy", 494 CURLHELP_PROXY | CURLHELP_TLS}, 495 {" --proxy-digest", 496 "Use Digest authentication on the proxy", 497 CURLHELP_PROXY | CURLHELP_TLS}, 498 {" --proxy-header <header/@file>", 499 "Pass custom header(s) to proxy", 500 CURLHELP_PROXY}, 501 {" --proxy-insecure", 502 "Do HTTPS proxy connections without verifying the proxy", 503 CURLHELP_PROXY | CURLHELP_TLS}, 504 {" --proxy-key <key>", 505 "Private key for HTTPS proxy", 506 CURLHELP_PROXY | CURLHELP_TLS}, 507 {" --proxy-key-type <type>", 508 "Private key file type for proxy", 509 CURLHELP_PROXY | CURLHELP_TLS}, 510 {" --proxy-negotiate", 511 "Use HTTP Negotiate (SPNEGO) authentication on the proxy", 512 CURLHELP_PROXY | CURLHELP_AUTH}, 513 {" --proxy-ntlm", 514 "Use NTLM authentication on the proxy", 515 CURLHELP_PROXY | CURLHELP_AUTH}, 516 {" --proxy-pass <phrase>", 517 "Pass phrase for the private key for HTTPS proxy", 518 CURLHELP_PROXY | CURLHELP_TLS | CURLHELP_AUTH}, 519 {" --proxy-pinnedpubkey <hashes>", 520 "FILE/HASHES public key to verify proxy with", 521 CURLHELP_PROXY | CURLHELP_TLS}, 522 {" --proxy-service-name <name>", 523 "SPNEGO proxy service name", 524 CURLHELP_PROXY | CURLHELP_TLS}, 525 {" --proxy-ssl-allow-beast", 526 "Allow security flaw for interop for HTTPS proxy", 527 CURLHELP_PROXY | CURLHELP_TLS}, 528 {" --proxy-ssl-auto-client-cert", 529 "Use auto client certificate for proxy (Schannel)", 530 CURLHELP_PROXY | CURLHELP_TLS}, 531 {" --proxy-tls13-ciphers <ciphersuite list>", 532 "TLS 1.3 proxy cipher suites", 533 CURLHELP_PROXY | CURLHELP_TLS}, 534 {" --proxy-tlsauthtype <type>", 535 "TLS authentication type for HTTPS proxy", 536 CURLHELP_PROXY | CURLHELP_TLS | CURLHELP_AUTH}, 537 {" --proxy-tlspassword <string>", 538 "TLS password for HTTPS proxy", 539 CURLHELP_PROXY | CURLHELP_TLS | CURLHELP_AUTH}, 540 {" --proxy-tlsuser <name>", 541 "TLS username for HTTPS proxy", 542 CURLHELP_PROXY | CURLHELP_TLS | CURLHELP_AUTH}, 543 {" --proxy-tlsv1", 544 "Use TLSv1 for HTTPS proxy", 545 CURLHELP_PROXY | CURLHELP_TLS | CURLHELP_AUTH}, 546 {"-U, --proxy-user <user:password>", 547 "Proxy user and password", 548 CURLHELP_PROXY | CURLHELP_AUTH}, 549 {" --proxy1.0 <host[:port]>", 550 "Use HTTP/1.0 proxy on given port", 551 CURLHELP_PROXY}, 552 {"-p, --proxytunnel", 553 "Operate through an HTTP proxy tunnel (using CONNECT)", 554 CURLHELP_PROXY}, 555 {" --pubkey <key>", 556 "SSH Public key file name", 557 CURLHELP_SFTP | CURLHELP_SCP | CURLHELP_AUTH}, 558 {"-Q, --quote <command>", 559 "Send command(s) to server before transfer", 560 CURLHELP_FTP | CURLHELP_SFTP}, 561 {" --random-file <file>", 562 "File for reading random data from", 563 CURLHELP_MISC}, 564 {"-r, --range <range>", 565 "Retrieve only the bytes within RANGE", 566 CURLHELP_HTTP | CURLHELP_FTP | CURLHELP_SFTP | CURLHELP_FILE}, 567 {" --rate <max request rate>", 568 "Request rate for serial transfers", 569 CURLHELP_CONNECTION}, 570 {" --raw", 571 "Do HTTP \"raw\"; no transfer decoding", 572 CURLHELP_HTTP}, 573 {"-e, --referer <URL>", 574 "Referrer URL", 575 CURLHELP_HTTP}, 576 {"-J, --remote-header-name", 577 "Use the header-provided filename", 578 CURLHELP_OUTPUT}, 579 {"-O, --remote-name", 580 "Write output to a file named as the remote file", 581 CURLHELP_IMPORTANT | CURLHELP_OUTPUT}, 582 {" --remote-name-all", 583 "Use the remote file name for all URLs", 584 CURLHELP_OUTPUT}, 585 {"-R, --remote-time", 586 "Set the remote file's time on the local output", 587 CURLHELP_OUTPUT}, 588 {" --remove-on-error", 589 "Remove output file on errors", 590 CURLHELP_CURL}, 591 {"-X, --request <method>", 592 "Specify request method to use", 593 CURLHELP_CONNECTION}, 594 {" --request-target <path>", 595 "Specify the target for this request", 596 CURLHELP_HTTP}, 597 {" --resolve <[+]host:port:addr[,addr]...>", 598 "Resolve the host+port to this address", 599 CURLHELP_CONNECTION | CURLHELP_DNS}, 600 {" --retry <num>", 601 "Retry request if transient problems occur", 602 CURLHELP_CURL}, 603 {" --retry-all-errors", 604 "Retry all errors (use with --retry)", 605 CURLHELP_CURL}, 606 {" --retry-connrefused", 607 "Retry on connection refused (use with --retry)", 608 CURLHELP_CURL}, 609 {" --retry-delay <seconds>", 610 "Wait time between retries", 611 CURLHELP_CURL}, 612 {" --retry-max-time <seconds>", 613 "Retry only within this period", 614 CURLHELP_CURL}, 615 {" --sasl-authzid <identity>", 616 "Identity for SASL PLAIN authentication", 617 CURLHELP_AUTH}, 618 {" --sasl-ir", 619 "Enable initial response in SASL authentication", 620 CURLHELP_AUTH}, 621 {" --service-name <name>", 622 "SPNEGO service name", 623 CURLHELP_MISC}, 624 {"-S, --show-error", 625 "Show error even when -s is used", 626 CURLHELP_CURL}, 627 {"-s, --silent", 628 "Silent mode", 629 CURLHELP_IMPORTANT | CURLHELP_VERBOSE}, 630 {" --socks4 <host[:port]>", 631 "SOCKS4 proxy on given host + port", 632 CURLHELP_PROXY}, 633 {" --socks4a <host[:port]>", 634 "SOCKS4a proxy on given host + port", 635 CURLHELP_PROXY}, 636 {" --socks5 <host[:port]>", 637 "SOCKS5 proxy on given host + port", 638 CURLHELP_PROXY}, 639 {" --socks5-basic", 640 "Enable username/password auth for SOCKS5 proxies", 641 CURLHELP_PROXY | CURLHELP_AUTH}, 642 {" --socks5-gssapi", 643 "Enable GSS-API auth for SOCKS5 proxies", 644 CURLHELP_PROXY | CURLHELP_AUTH}, 645 {" --socks5-gssapi-nec", 646 "Compatibility with NEC SOCKS5 server", 647 CURLHELP_PROXY | CURLHELP_AUTH}, 648 {" --socks5-gssapi-service <name>", 649 "SOCKS5 proxy service name for GSS-API", 650 CURLHELP_PROXY | CURLHELP_AUTH}, 651 {" --socks5-hostname <host[:port]>", 652 "SOCKS5 proxy, pass host name to proxy", 653 CURLHELP_PROXY}, 654 {"-Y, --speed-limit <speed>", 655 "Stop transfers slower than this", 656 CURLHELP_CONNECTION}, 657 {"-y, --speed-time <seconds>", 658 "Trigger 'speed-limit' abort after this time", 659 CURLHELP_CONNECTION}, 660 {" --ssl", 661 "Try SSL/TLS", 662 CURLHELP_TLS}, 663 {" --ssl-allow-beast", 664 "Allow security flaw to improve interop", 665 CURLHELP_TLS}, 666 {" --ssl-auto-client-cert", 667 "Use auto client certificate (Schannel)", 668 CURLHELP_TLS}, 669 {" --ssl-no-revoke", 670 "Disable cert revocation checks (Schannel)", 671 CURLHELP_TLS}, 672 {" --ssl-reqd", 673 "Require SSL/TLS", 674 CURLHELP_TLS}, 675 {" --ssl-revoke-best-effort", 676 "Ignore missing/offline cert CRL dist points", 677 CURLHELP_TLS}, 678 {"-2, --sslv2", 679 "Use SSLv2", 680 CURLHELP_TLS}, 681 {"-3, --sslv3", 682 "Use SSLv3", 683 CURLHELP_TLS}, 684 {" --stderr <file>", 685 "Where to redirect stderr", 686 CURLHELP_VERBOSE}, 687 {" --styled-output", 688 "Enable styled output for HTTP headers", 689 CURLHELP_VERBOSE}, 690 {" --suppress-connect-headers", 691 "Suppress proxy CONNECT response headers", 692 CURLHELP_PROXY}, 693 {" --tcp-fastopen", 694 "Use TCP Fast Open", 695 CURLHELP_CONNECTION}, 696 {" --tcp-nodelay", 697 "Use the TCP_NODELAY option", 698 CURLHELP_CONNECTION}, 699 {"-t, --telnet-option <opt=val>", 700 "Set telnet option", 701 CURLHELP_TELNET}, 702 {" --tftp-blksize <value>", 703 "Set TFTP BLKSIZE option", 704 CURLHELP_TFTP}, 705 {" --tftp-no-options", 706 "Do not send any TFTP options", 707 CURLHELP_TFTP}, 708 {"-z, --time-cond <time>", 709 "Transfer based on a time condition", 710 CURLHELP_HTTP | CURLHELP_FTP}, 711 {" --tls-max <VERSION>", 712 "Set maximum allowed TLS version", 713 CURLHELP_TLS}, 714 {" --tls13-ciphers <ciphersuite list>", 715 "TLS 1.3 cipher suites to use", 716 CURLHELP_TLS}, 717 {" --tlsauthtype <type>", 718 "TLS authentication type", 719 CURLHELP_TLS | CURLHELP_AUTH}, 720 {" --tlspassword <string>", 721 "TLS password", 722 CURLHELP_TLS | CURLHELP_AUTH}, 723 {" --tlsuser <name>", 724 "TLS user name", 725 CURLHELP_TLS | CURLHELP_AUTH}, 726 {"-1, --tlsv1", 727 "Use TLSv1.0 or greater", 728 CURLHELP_TLS}, 729 {" --tlsv1.0", 730 "Use TLSv1.0 or greater", 731 CURLHELP_TLS}, 732 {" --tlsv1.1", 733 "Use TLSv1.1 or greater", 734 CURLHELP_TLS}, 735 {" --tlsv1.2", 736 "Use TLSv1.2 or greater", 737 CURLHELP_TLS}, 738 {" --tlsv1.3", 739 "Use TLSv1.3 or greater", 740 CURLHELP_TLS}, 741 {" --tr-encoding", 742 "Request compressed transfer encoding", 743 CURLHELP_HTTP}, 744 {" --trace <file>", 745 "Write a debug trace to FILE", 746 CURLHELP_VERBOSE}, 747 {" --trace-ascii <file>", 748 "Like --trace, but without hex output", 749 CURLHELP_VERBOSE}, 750 {" --trace-time", 751 "Add time stamps to trace/verbose output", 752 CURLHELP_VERBOSE}, 753 {" --unix-socket <path>", 754 "Connect through this Unix domain socket", 755 CURLHELP_CONNECTION}, 756 {"-T, --upload-file <file>", 757 "Transfer local FILE to destination", 758 CURLHELP_IMPORTANT | CURLHELP_UPLOAD}, 759 {" --url <url>", 760 "URL to work with", 761 CURLHELP_CURL}, 762 {" --url-query <data>", 763 "Add a URL query part", 764 CURLHELP_HTTP | CURLHELP_POST | CURLHELP_UPLOAD}, 765 {"-B, --use-ascii", 766 "Use ASCII/text transfer", 767 CURLHELP_MISC}, 768 {"-u, --user <user:password>", 769 "Server user and password", 770 CURLHELP_IMPORTANT | CURLHELP_AUTH}, 771 {"-A, --user-agent <name>", 772 "Send User-Agent <name> to server", 773 CURLHELP_IMPORTANT | CURLHELP_HTTP}, 774 {"-v, --verbose", 775 "Make the operation more talkative", 776 CURLHELP_IMPORTANT | CURLHELP_VERBOSE}, 777 {"-V, --version", 778 "Show version number and quit", 779 CURLHELP_IMPORTANT | CURLHELP_CURL}, 780 {"-w, --write-out <format>", 781 "Use output FORMAT after completion", 782 CURLHELP_VERBOSE}, 783 {" --xattr", 784 "Store metadata in extended file attributes", 785 CURLHELP_MISC}, 786 { NULL, NULL, CURLHELP_HIDDEN } 787 }; 788