tool_listhelp.c 25 KB

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