const struct helptxt helptext[] = {
{ " --abstract-unix-socket <path>",
"Connect via abstract Unix domain socket",
- CURLHELP_CONNECTION },
+ CURLHELP_CONNECTION | CURLHELP_HTTP },
{ " --alt-svc <filename>",
"Enable alt-svc with this cache file",
CURLHELP_HTTP },
CURLHELP_AUTH | CURLHELP_HTTP },
{ " --basic",
"HTTP Basic Authentication",
- CURLHELP_AUTH },
+ CURLHELP_AUTH | CURLHELP_HTTP },
{ " --ca-native",
"Load CA certs from the OS",
CURLHELP_TLS },
CURLHELP_HTTP },
{ " --compressed-ssh",
"Enable SSH compression",
- CURLHELP_SCP | CURLHELP_SSH },
+ CURLHELP_SCP | CURLHELP_SFTP | CURLHELP_SSH },
{ "-K, --config <file>",
"Read config from a file",
CURLHELP_CURL },
"(EC) TLS key exchange algorithms to request",
CURLHELP_TLS },
{ "-d, --data <data>",
- "HTTP POST data",
- CURLHELP_IMPORTANT | CURLHELP_HTTP | CURLHELP_POST | CURLHELP_UPLOAD },
+ "Post data",
+ CURLHELP_IMPORTANT | CURLHELP_HTTP | CURLHELP_POST | CURLHELP_UPLOAD |
+ CURLHELP_MQTT },
{ " --data-ascii <data>",
"HTTP POST ASCII data",
CURLHELP_HTTP | CURLHELP_POST | CURLHELP_UPLOAD },
CURLHELP_SMTP },
{ " --form-escape",
"Escape form fields using backslash",
- CURLHELP_HTTP | CURLHELP_UPLOAD | CURLHELP_POST },
+ CURLHELP_HTTP | CURLHELP_UPLOAD | CURLHELP_POST | CURLHELP_IMAP |
+ CURLHELP_SMTP },
{ " --form-string <name=string>",
"Specify multipart MIME data",
CURLHELP_HTTP | CURLHELP_UPLOAD | CURLHELP_POST | CURLHELP_SMTP |
CURLHELP_CONNECTION | CURLHELP_TIMEOUT },
{ " --key <key>",
"Private key filename",
- CURLHELP_TLS | CURLHELP_SSH },
+ CURLHELP_TLS | CURLHELP_SFTP | CURLHELP_SCP | CURLHELP_SSH },
{ " --key-type <type>",
"Private key file type (DER/PEM/ENG)",
CURLHELP_TLS },
{ " --knownhosts <file>",
"Specify knownhosts path",
- CURLHELP_SSH },
+ CURLHELP_SFTP | CURLHELP_SCP | CURLHELP_SSH },
{ " --krb <level>",
"Enable Kerberos with security <level>",
CURLHELP_DEPRECATED },
CURLHELP_CURL },
{ " --max-filesize <bytes>",
"Maximum file size to download",
- CURLHELP_CONNECTION },
+ CURLHELP_CONNECTION | CURLHELP_FTP | CURLHELP_HTTP | CURLHELP_MQTT },
{ " --max-redirs <num>",
"Maximum number of redirects allowed",
CURLHELP_HTTP },
{ " --oauth2-bearer <token>",
"OAuth 2 Bearer Token",
CURLHELP_AUTH | CURLHELP_IMAP | CURLHELP_POP3 | CURLHELP_SMTP |
- CURLHELP_LDAP },
+ CURLHELP_LDAP | CURLHELP_HTTP },
{ " --out-null",
"Discard response data into the void",
CURLHELP_OUTPUT },
CURLHELP_CONNECTION | CURLHELP_CURL | CURLHELP_GLOBAL },
{ " --pass <phrase>",
"Passphrase for the private key",
- CURLHELP_SSH | CURLHELP_TLS | CURLHELP_AUTH },
+ CURLHELP_TLS | CURLHELP_SFTP | CURLHELP_SCP | CURLHELP_SSH |
+ CURLHELP_AUTH },
{ " --path-as-is",
"Do not squash .. sequences in URL path",
CURLHELP_CURL },
CURLHELP_PROXY | CURLHELP_TLS },
{ " --proxy-header <header/@file>",
"Pass custom header(s) to proxy",
- CURLHELP_PROXY },
+ CURLHELP_PROXY | CURLHELP_HTTP },
{ " --proxy-http2",
"Use HTTP/2 with HTTPS proxy",
CURLHELP_HTTP | CURLHELP_PROXY },
CURLHELP_HTTP },
{ "-J, --remote-header-name",
"Use the header-provided filename",
- CURLHELP_OUTPUT },
+ CURLHELP_OUTPUT | CURLHELP_HTTP },
{ "-O, --remote-name",
"Write output to file named as remote file",
CURLHELP_IMPORTANT | CURLHELP_OUTPUT },
CURLHELP_CURL | CURLHELP_TIMEOUT },
{ " --sasl-authzid <identity>",
"Identity for SASL PLAIN authentication",
- CURLHELP_AUTH },
+ CURLHELP_AUTH | CURLHELP_IMAP | CURLHELP_SMTP | CURLHELP_POP3 |
+ CURLHELP_LDAP },
{ " --sasl-ir",
"Initial response in SASL authentication",
- CURLHELP_AUTH },
+ CURLHELP_AUTH | CURLHELP_IMAP | CURLHELP_POP3 | CURLHELP_LDAP |
+ CURLHELP_SMTP },
{ " --service-name <name>",
"SPNEGO service name",
CURLHELP_AUTH },
CURLHELP_CURL | CURLHELP_GLOBAL },
{ "-i, --show-headers",
"Show response headers in output",
- CURLHELP_IMPORTANT | CURLHELP_VERBOSE | CURLHELP_OUTPUT },
+ CURLHELP_IMPORTANT | CURLHELP_VERBOSE | CURLHELP_OUTPUT | CURLHELP_HTTP |
+ CURLHELP_FTP },
{ " --sigalgs <list>",
"TLS signature algorithms to use",
CURLHELP_TLS },
{ " --ssl",
"Try enabling TLS",
CURLHELP_TLS | CURLHELP_IMAP | CURLHELP_POP3 | CURLHELP_SMTP |
- CURLHELP_LDAP },
+ CURLHELP_LDAP | CURLHELP_FTP },
{ " --ssl-allow-beast",
"Allow security flaw to improve interop",
CURLHELP_TLS },
{ " --ssl-reqd",
"Require SSL/TLS",
CURLHELP_TLS | CURLHELP_IMAP | CURLHELP_POP3 | CURLHELP_SMTP |
- CURLHELP_LDAP },
+ CURLHELP_LDAP | CURLHELP_FTP },
{ " --ssl-revoke-best-effort",
"Ignore missing cert CRL dist points",
CURLHELP_TLS },
CURLHELP_VERBOSE | CURLHELP_GLOBAL },
{ " --unix-socket <path>",
"Connect through this Unix domain socket",
- CURLHELP_CONNECTION },
+ CURLHELP_CONNECTION | CURLHELP_HTTP },
{ "-T, --upload-file <file>",
"Transfer local FILE to destination",
- CURLHELP_IMPORTANT | CURLHELP_UPLOAD },
+ CURLHELP_IMPORTANT | CURLHELP_UPLOAD | CURLHELP_IMAP },
{ " --upload-flags <flags>",
"IMAP upload behavior",
- CURLHELP_CURL | CURLHELP_OUTPUT },
+ CURLHELP_CURL | CURLHELP_OUTPUT | CURLHELP_IMAP | CURLHELP_UPLOAD },
{ " --url <url/file>",
"URL(s) to work with",
CURLHELP_CURL },
Usage: curl [options...] <url>
- -d, --data <data> HTTP POST data
+ -d, --data <data> Post data
-f, --fail Fail fast with no output on HTTP errors
-I, --head Show document info only
-H, --header <header/@file> Pass custom header(s) to server
This is not the full help; this menu is split into categories.
Use "--help category" to get an overview of all categories, which are:
auth, connection, curl, deprecated, dns, file, ftp, global, http, imap, ldap,%SP
-output, pop3, post, proxy, scp, sftp, smtp, ssh, telnet, tftp, timeout, tls,%SP
-upload, verbose.
+mqtt, output, pop3, post, proxy, scp, sftp, smtp, ssh, telnet, tftp, timeout,%SP
+tls, upload, verbose.
Use "--help all" to list all options
Use "--help [option]" to view documentation for a given option