tool_listhelp.c 25 KB

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