tool_listhelp.c 24 KB

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