]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: add categories to all cmdline opts
authorEmil Engler <me@emilengler.com>
Mon, 13 Jul 2020 12:15:04 +0000 (14:15 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 4 Sep 2020 13:38:14 +0000 (15:38 +0200)
Adapted gen.pl with 'listcats'

This commit is a part of "--help me if you can"

Closes #5680

235 files changed:
docs/cmdline-opts/abstract-unix-socket.d
docs/cmdline-opts/alt-svc.d
docs/cmdline-opts/anyauth.d
docs/cmdline-opts/append.d
docs/cmdline-opts/basic.d
docs/cmdline-opts/cacert.d
docs/cmdline-opts/capath.d
docs/cmdline-opts/cert-status.d
docs/cmdline-opts/cert-type.d
docs/cmdline-opts/cert.d
docs/cmdline-opts/ciphers.d
docs/cmdline-opts/compressed-ssh.d
docs/cmdline-opts/compressed.d
docs/cmdline-opts/config.d
docs/cmdline-opts/connect-timeout.d
docs/cmdline-opts/connect-to.d
docs/cmdline-opts/continue-at.d
docs/cmdline-opts/cookie-jar.d
docs/cmdline-opts/cookie.d
docs/cmdline-opts/create-dirs.d
docs/cmdline-opts/crlf.d
docs/cmdline-opts/crlfile.d
docs/cmdline-opts/curves.d
docs/cmdline-opts/data-ascii.d
docs/cmdline-opts/data-binary.d
docs/cmdline-opts/data-raw.d
docs/cmdline-opts/data-urlencode.d
docs/cmdline-opts/data.d
docs/cmdline-opts/delegation.d
docs/cmdline-opts/digest.d
docs/cmdline-opts/disable-eprt.d
docs/cmdline-opts/disable-epsv.d
docs/cmdline-opts/disable.d
docs/cmdline-opts/disallow-username-in-url.d
docs/cmdline-opts/dns-interface.d
docs/cmdline-opts/dns-ipv4-addr.d
docs/cmdline-opts/dns-ipv6-addr.d
docs/cmdline-opts/dns-servers.d
docs/cmdline-opts/doh-url.d
docs/cmdline-opts/dump-header.d
docs/cmdline-opts/egd-file.d
docs/cmdline-opts/engine.d
docs/cmdline-opts/etag-compare.d
docs/cmdline-opts/etag-save.d
docs/cmdline-opts/expect100-timeout.d
docs/cmdline-opts/fail-early.d
docs/cmdline-opts/fail.d
docs/cmdline-opts/false-start.d
docs/cmdline-opts/form-string.d
docs/cmdline-opts/form.d
docs/cmdline-opts/ftp-account.d
docs/cmdline-opts/ftp-alternative-to-user.d
docs/cmdline-opts/ftp-create-dirs.d
docs/cmdline-opts/ftp-method.d
docs/cmdline-opts/ftp-pasv.d
docs/cmdline-opts/ftp-port.d
docs/cmdline-opts/ftp-pret.d
docs/cmdline-opts/ftp-skip-pasv-ip.d
docs/cmdline-opts/ftp-ssl-ccc-mode.d
docs/cmdline-opts/ftp-ssl-ccc.d
docs/cmdline-opts/ftp-ssl-control.d
docs/cmdline-opts/gen.pl
docs/cmdline-opts/get.d
docs/cmdline-opts/globoff.d
docs/cmdline-opts/happy-eyeballs-timeout-ms.d
docs/cmdline-opts/haproxy-protocol.d
docs/cmdline-opts/head.d
docs/cmdline-opts/header.d
docs/cmdline-opts/help.d
docs/cmdline-opts/hostpubmd5.d
docs/cmdline-opts/http0.9.d
docs/cmdline-opts/http1.0.d
docs/cmdline-opts/http1.1.d
docs/cmdline-opts/http2-prior-knowledge.d
docs/cmdline-opts/http2.d
docs/cmdline-opts/http3.d
docs/cmdline-opts/ignore-content-length.d
docs/cmdline-opts/include.d
docs/cmdline-opts/insecure.d
docs/cmdline-opts/interface.d
docs/cmdline-opts/ipv4.d
docs/cmdline-opts/ipv6.d
docs/cmdline-opts/junk-session-cookies.d
docs/cmdline-opts/keepalive-time.d
docs/cmdline-opts/key-type.d
docs/cmdline-opts/key.d
docs/cmdline-opts/krb.d
docs/cmdline-opts/libcurl.d
docs/cmdline-opts/limit-rate.d
docs/cmdline-opts/list-only.d
docs/cmdline-opts/local-port.d
docs/cmdline-opts/location-trusted.d
docs/cmdline-opts/location.d
docs/cmdline-opts/login-options.d
docs/cmdline-opts/mail-auth.d
docs/cmdline-opts/mail-from.d
docs/cmdline-opts/mail-rcpt-allowfails.d
docs/cmdline-opts/mail-rcpt.d
docs/cmdline-opts/manual.d
docs/cmdline-opts/max-filesize.d
docs/cmdline-opts/max-redirs.d
docs/cmdline-opts/max-time.d
docs/cmdline-opts/metalink.d
docs/cmdline-opts/negotiate.d
docs/cmdline-opts/netrc-file.d
docs/cmdline-opts/netrc-optional.d
docs/cmdline-opts/netrc.d
docs/cmdline-opts/next.d
docs/cmdline-opts/no-alpn.d
docs/cmdline-opts/no-buffer.d
docs/cmdline-opts/no-keepalive.d
docs/cmdline-opts/no-npn.d
docs/cmdline-opts/no-progress-meter.d
docs/cmdline-opts/no-sessionid.d
docs/cmdline-opts/noproxy.d
docs/cmdline-opts/ntlm-wb.d
docs/cmdline-opts/ntlm.d
docs/cmdline-opts/oauth2-bearer.d
docs/cmdline-opts/output-dir.d
docs/cmdline-opts/output.d
docs/cmdline-opts/parallel-immediate.d
docs/cmdline-opts/parallel-max.d
docs/cmdline-opts/parallel.d
docs/cmdline-opts/pass.d
docs/cmdline-opts/path-as-is.d
docs/cmdline-opts/pinnedpubkey.d
docs/cmdline-opts/post301.d
docs/cmdline-opts/post302.d
docs/cmdline-opts/post303.d
docs/cmdline-opts/preproxy.d
docs/cmdline-opts/progress-bar.d
docs/cmdline-opts/proto-default.d
docs/cmdline-opts/proto-redir.d
docs/cmdline-opts/proto.d
docs/cmdline-opts/proxy-anyauth.d
docs/cmdline-opts/proxy-basic.d
docs/cmdline-opts/proxy-cacert.d
docs/cmdline-opts/proxy-capath.d
docs/cmdline-opts/proxy-cert-type.d
docs/cmdline-opts/proxy-cert.d
docs/cmdline-opts/proxy-ciphers.d
docs/cmdline-opts/proxy-crlfile.d
docs/cmdline-opts/proxy-digest.d
docs/cmdline-opts/proxy-header.d
docs/cmdline-opts/proxy-insecure.d
docs/cmdline-opts/proxy-key-type.d
docs/cmdline-opts/proxy-key.d
docs/cmdline-opts/proxy-negotiate.d
docs/cmdline-opts/proxy-ntlm.d
docs/cmdline-opts/proxy-pass.d
docs/cmdline-opts/proxy-pinnedpubkey.d
docs/cmdline-opts/proxy-service-name.d
docs/cmdline-opts/proxy-ssl-allow-beast.d
docs/cmdline-opts/proxy-tls13-ciphers.d
docs/cmdline-opts/proxy-tlsauthtype.d
docs/cmdline-opts/proxy-tlspassword.d
docs/cmdline-opts/proxy-tlsuser.d
docs/cmdline-opts/proxy-tlsv1.d
docs/cmdline-opts/proxy-user.d
docs/cmdline-opts/proxy.d
docs/cmdline-opts/proxy1.0.d
docs/cmdline-opts/proxytunnel.d
docs/cmdline-opts/pubkey.d
docs/cmdline-opts/quote.d
docs/cmdline-opts/random-file.d
docs/cmdline-opts/range.d
docs/cmdline-opts/raw.d
docs/cmdline-opts/referer.d
docs/cmdline-opts/remote-header-name.d
docs/cmdline-opts/remote-name-all.d
docs/cmdline-opts/remote-name.d
docs/cmdline-opts/remote-time.d
docs/cmdline-opts/request-target.d
docs/cmdline-opts/request.d
docs/cmdline-opts/resolve.d
docs/cmdline-opts/retry-all-errors.d
docs/cmdline-opts/retry-connrefused.d
docs/cmdline-opts/retry-delay.d
docs/cmdline-opts/retry-max-time.d
docs/cmdline-opts/retry.d
docs/cmdline-opts/sasl-authzid.d
docs/cmdline-opts/sasl-ir.d
docs/cmdline-opts/service-name.d
docs/cmdline-opts/show-error.d
docs/cmdline-opts/silent.d
docs/cmdline-opts/socks4.d
docs/cmdline-opts/socks4a.d
docs/cmdline-opts/socks5-basic.d
docs/cmdline-opts/socks5-gssapi-nec.d
docs/cmdline-opts/socks5-gssapi-service.d
docs/cmdline-opts/socks5-gssapi.d
docs/cmdline-opts/socks5-hostname.d
docs/cmdline-opts/socks5.d
docs/cmdline-opts/speed-limit.d
docs/cmdline-opts/speed-time.d
docs/cmdline-opts/ssl-allow-beast.d
docs/cmdline-opts/ssl-no-revoke.d
docs/cmdline-opts/ssl-reqd.d
docs/cmdline-opts/ssl-revoke-best-effort.d
docs/cmdline-opts/ssl.d
docs/cmdline-opts/sslv2.d
docs/cmdline-opts/sslv3.d
docs/cmdline-opts/stderr.d
docs/cmdline-opts/styled-output.d
docs/cmdline-opts/suppress-connect-headers.d
docs/cmdline-opts/tcp-fastopen.d
docs/cmdline-opts/tcp-nodelay.d
docs/cmdline-opts/telnet-option.d
docs/cmdline-opts/tftp-blksize.d
docs/cmdline-opts/tftp-no-options.d
docs/cmdline-opts/time-cond.d
docs/cmdline-opts/tls-max.d
docs/cmdline-opts/tls13-ciphers.d
docs/cmdline-opts/tlsauthtype.d
docs/cmdline-opts/tlspassword.d
docs/cmdline-opts/tlsuser.d
docs/cmdline-opts/tlsv1.0.d
docs/cmdline-opts/tlsv1.1.d
docs/cmdline-opts/tlsv1.2.d
docs/cmdline-opts/tlsv1.3.d
docs/cmdline-opts/tlsv1.d
docs/cmdline-opts/tr-encoding.d
docs/cmdline-opts/trace-ascii.d
docs/cmdline-opts/trace-time.d
docs/cmdline-opts/trace.d
docs/cmdline-opts/unix-socket.d
docs/cmdline-opts/upload-file.d
docs/cmdline-opts/url.d
docs/cmdline-opts/use-ascii.d
docs/cmdline-opts/user-agent.d
docs/cmdline-opts/user.d
docs/cmdline-opts/verbose.d
docs/cmdline-opts/version.d
docs/cmdline-opts/write-out.d
docs/cmdline-opts/xattr.d

index 1fda4e5df3ec9179bd3a27f9e1768c22c84e7352..8403cab9d156396f16fada580ea3ed9bdf5a8edc 100644 (file)
@@ -3,6 +3,7 @@ Arg: <path>
 Help: Connect via abstract Unix domain socket
 Added: 7.53.0
 Protocols: HTTP
+Category: connection
 ---
 Connect through an abstract Unix domain socket, instead of using the network.
 Note: netstat shows the path of an abstract socket prefixed with '@', however
index 15877a2feeaded047859558d840b81282bb2ed0d..5598b59b48076c80ddd1ec1a881a4e3e1a446c9c 100644 (file)
@@ -3,6 +3,7 @@ Arg: <file name>
 Protocols: HTTPS
 Help: Enable alt-svc with this cache file
 Added: 7.64.1
+Category: http
 ---
 WARNING: this option is experimental. Do not use in production.
 
index c32d1ed5efd14ca356778fa7dc0d4bf4f38aa523..bec0c0c861255c19082a21cd4c9e856e297b8743 100644 (file)
@@ -2,6 +2,7 @@ Long: anyauth
 Help: Pick any authentication method
 Protocols: HTTP
 See-also: proxy-anyauth basic digest
+Category: http proxy auth
 ---
 Tells curl to figure out authentication method by itself, and use the most
 secure one the remote site claims to support. This is done by first doing a
index f001b1239d1d08c92edf06929607b4a1ccf7bd5e..8bdb2594d45efc52fd84bc369339e3260e7263c9 100644 (file)
@@ -2,6 +2,7 @@ Short: a
 Long: append
 Help: Append to target file when uploading
 Protocols: FTP SFTP
+Category: ftp sftp
 ---
 When used in an upload, this makes curl append to the target file instead of
 overwriting it. If the remote file doesn't exist, it will be created.  Note
index 09d42af9d4ad8e1a20a0c54c08274380c18e2738..e222c51c1ce6cef2e87f6e1e2d8427da6f4fc388 100644 (file)
@@ -2,6 +2,7 @@ Long: basic
 Help: Use HTTP Basic Authentication
 See-also: proxy-basic
 Protocols: HTTP
+Category: auth
 ---
 Tells curl to use HTTP Basic authentication with the remote host. This is the
 default and this option is usually pointless, unless you use it to override a
index 6a567875220f9a9fde7e8a9deea4b7250cb97ef6..793d8c1ba176e06c12cff481ac8238bbc05a7e79 100644 (file)
@@ -2,6 +2,7 @@ Long: cacert
 Arg: <file>
 Help: CA certificate to verify peer against
 Protocols: TLS
+Category: tls
 ---
 Tells curl to use the specified certificate file to verify the peer. The file
 may contain multiple CA certificates. The certificate(s) must be in PEM
index 0763f7a0d43fa8b0b698baf5986fe8bee79c0036..4ce077a1471e5048c002fb756ca64d3ce9945c03 100644 (file)
@@ -2,6 +2,7 @@ Long: capath
 Arg: <dir>
 Help: CA directory to verify peer against
 Protocols: TLS
+Category: tls
 ---
 Tells curl to use the specified certificate directory to verify the
 peer. Multiple paths can be provided by separating them with ":" (e.g.
index f1aaa21744bf551a6e70f01cbdcc8478143fdc1c..1342b092b8551af22d2a3f5998ca6287c5cbde17 100644 (file)
@@ -2,6 +2,7 @@ Long: cert-status
 Protocols: TLS
 Added: 7.41.0
 Help: Verify the status of the server certificate
+Category: tls
 ---
 Tells curl to verify the status of the server certificate by using the
 Certificate Status Request (aka. OCSP stapling) TLS extension.
index 1232ec10d9e25d2169beb4e5c0a170b12a27da68..b041bcb065134dc869cdb93224423ec6f91a201c 100644 (file)
@@ -3,6 +3,7 @@ Protocols: TLS
 Arg: <type>
 Help: Certificate type (DER/PEM/ENG)
 See-also: cert key key-type
+Category: tls
 ---
 Tells curl what type the provided client certificate is using. PEM, DER, ENG
 and P12 are recognized types.  If not specified, PEM is assumed.
index de6b42060f9273b7817f4b1900634fb7d5d4a0a6..2938e571fb467f06f187a78a0b3753c392fc3149 100644 (file)
@@ -4,6 +4,7 @@ Arg: <certificate[:password]>
 Help: Client certificate file and password
 Protocols: TLS
 See-also: cert-type key key-type
+Category: tls
 ---
 Tells curl to use the specified client certificate file when getting a file
 with HTTPS, FTPS or another SSL-based protocol. The certificate must be in
index 69e85525a540f5a7e5cc01abf58b9f026308ebab..ed7438a0018e2875dbb96fc8fba42dabf8e8d259 100644 (file)
@@ -2,6 +2,7 @@ Long: ciphers
 Arg: <list of ciphers>
 Help: SSL ciphers to use
 Protocols: TLS
+Category: tls
 ---
 Specifies which ciphers to use in the connection. The list of ciphers must
 specify valid ciphers. Read up on SSL cipher list details on this URL:
index 583452ae47e50dac78efe8c7904800eb7acf9051..849fe18b0007a950ad0c21857dc5ab77055805ca 100644 (file)
@@ -2,6 +2,7 @@ Long: compressed-ssh
 Help: Enable SSH compression
 Protocols: SCP SFTP
 Added: 7.56.0
+Category: scp ssh
 ---
 Enables built-in SSH compression.
 This is a request, not an order; the server may or may not do it.
index 3aca92c32863cfa43559a7586a8d610688256425..26bc1514a55ee919b4451905f802bf9d32ddb243 100644 (file)
@@ -1,6 +1,7 @@
 Long: compressed
 Help: Request compressed response
 Protocols: HTTP
+Category: http
 ---
 Request a compressed response using one of the algorithms curl supports, and
 automatically decompress the content. Headers are not modified.
index be46f75989cc5caf7b5519576251663fa880ddac..26346799791144621920c332d8b5fcaa7589a7b6 100644 (file)
@@ -2,6 +2,7 @@ Long: config
 Arg: <file>
 Help: Read config from a file
 Short: K
+Category: curl
 ---
 
 Specify a text file to read curl arguments from. The command line arguments
index 3a32d86853cec3086bd524f111ad51c2691cc99b..fa3277221a5d2723d6f1a35b383e62ebcc67054e 100644 (file)
@@ -2,6 +2,7 @@ Long: connect-timeout
 Arg: <seconds>
 Help: Maximum time allowed for connection
 See-also: max-time
+Category: connection
 ---
 Maximum time in seconds that you allow curl's connection to take.  This only
 limits the connection phase, so if curl connects within the given period it
index 458bfe855fc160b21fc6f3812d3e9374b7d8adbd..2f015f8ac45ed80010a335d541e37138562f4a39 100644 (file)
@@ -3,6 +3,7 @@ Arg: <HOST1:PORT1:HOST2:PORT2>
 Help: Connect to host
 Added: 7.49.0
 See-also: resolve header
+Category: connection
 ---
 
 For a request to the given HOST1:PORT1 pair, connect to HOST2:PORT2 instead.
index 733f4941ea058f9da42925d3d3fd71d0b105c8a0..c44d2f496fc4f5b3a85c7d596d0bc91f216d9196 100644 (file)
@@ -3,6 +3,7 @@ Long: continue-at
 Arg: <offset>
 Help: Resumed transfer offset
 See-also: range
+Category: connection
 ---
 Continue/Resume a previous file transfer at the given offset. The given offset
 is the exact number of bytes that will be skipped, counting from the beginning
index da79777eb6d5875f0338366d11fbbec7b16f171a..f11991f4e946c66cdbb38833db79d9f4440cbafd 100644 (file)
@@ -3,6 +3,7 @@ Long: cookie-jar
 Arg: <filename>
 Protocols: HTTP
 Help: Write cookies to <filename> after operation
+Category: http
 ---
 Specify to which file you want curl to write all cookies after a completed
 operation. Curl writes all cookies from its in-memory cookie storage to the
index 467e05663f35be34f57b88060b5eb0f4b59af4cd..5d2c9d7838609f959e96c0d3d5b44a46bd50f2e3 100644 (file)
@@ -3,6 +3,7 @@ Long: cookie
 Arg: <data|filename>
 Protocols: HTTP
 Help: Send cookies from string/file
+Category: http
 ---
 Pass the data to the HTTP server in the Cookie header. It is supposedly
 the data previously received from the server in a "Set-Cookie:" line.  The
index b09d96ca7fe310cbe9aab48f98ca9ea7c32df6ed..48a8fd466f69f1f95bf0fdf323d54959ac4af081 100644 (file)
@@ -1,5 +1,6 @@
 Long: create-dirs
 Help: Create necessary local directory hierarchy
+Category: curl
 ---
 When used in conjunction with the --output option, curl will create the
 necessary local directory hierarchy as needed. This option creates the dirs
index f6694b654d095c4ae71c667032f281e97882ea79..50c4bef81de3dc1bf2d0ce1b13aa6217c8a74843 100644 (file)
@@ -1,6 +1,7 @@
 Long: crlf
 Help: Convert LF to CRLF in upload
 Protocols: FTP SMTP
+Category: ftp smtp
 ---
 Convert LF to CRLF in upload. Useful for MVS (OS/390).
 
index 0fcc63c85d21c6e0c6ebc317a6d8cd2b73c87f05..360e668d1e9da7a7a9d3c9d5e7a6ec4deae40e89 100644 (file)
@@ -3,6 +3,7 @@ Arg: <file>
 Protocols: TLS
 Help: Get a CRL list in PEM format from the given file
 Added: 7.19.7
+Category: tls
 ---
 Provide a file using PEM format with a Certificate Revocation List that may
 specify peer certificates that are to be considered revoked.
index 03264c05aa07de7d293d83b40d343de0092f43f9..47870a2789dc605184ad831399d9860b2d7f5cfe 100644 (file)
@@ -3,6 +3,7 @@ Arg: <algorithm list>
 Help: (EC) TLS key exchange algorithm(s) to request
 Protocols: TLS
 Added: 7.73.0
+Category: tls
 ---
 Tells curl to request specific curves to use during SSL session establishment
 according to RFC 8422, 5.1.  Multiple algorithms can be provided by separating
index bda4abc3d1dc744c674ea3b7ca67a90e8c4269c2..3522f6345c811df0c8c4670942078b7d01b58431 100644 (file)
@@ -2,5 +2,6 @@ Long: data-ascii
 Arg: <data>
 Help: HTTP POST ASCII data
 Protocols: HTTP
+Category: http post upload
 ---
 This is just an alias for --data.
index 3f6ff2dbd0a210c89a790a2e97ec91f6ef8b64fc..c40785ece121cc02e23547fada585718a785e010 100644 (file)
@@ -2,6 +2,7 @@ Long: data-binary
 Arg: <data>
 Help: HTTP POST binary data
 Protocols: HTTP
+Category: http post upload
 ---
 This posts data exactly as specified with no extra processing whatsoever.
 
index 7669b4abfa7d804de58cedfae9d89d68223e00f3..4db83aefa0267166abb910c4dd7f398cfc453662 100644 (file)
@@ -4,6 +4,7 @@ Protocols: HTTP
 Help: HTTP POST data, '@' allowed
 Added: 7.43.0
 See-also: data
+Category: http post upload
 ---
 This posts data similarly to --data but without the special
 interpretation of the @ character.
index 9873f3356e4fcca000f443129a43399a39f1213b..2f2a3645bc408f2072b4dfd6257239b26e5272f9 100644 (file)
@@ -4,6 +4,7 @@ Help: HTTP POST data url encoded
 Protocols: HTTP
 See-also: data data-raw
 Added: 7.18.0
+Category: http post upload
 ---
 This posts data, similar to the other --data options with the exception
 that this performs URL-encoding.
index 280d38bc06baae18bd1c7a3b81cd377bc6d1c71e..53ba86b36d5b38729f59872f2ea5bc17ed3ff837 100644 (file)
@@ -5,6 +5,7 @@ Help: HTTP POST data
 Protocols: HTTP MQTT
 See-also: data-binary data-urlencode data-raw
 Mutexed: form head upload-file
+Category: important http post upload
 ---
 Sends the specified data in a POST request to the HTTP server, in the same way
 that a browser does when a user has filled in an HTML form and presses the
index 138d82333e06e9ce3ed99f7e24ccfd5095f059a7..64b9f7500b462c7d48616dc94dec603563d7ebc4 100644 (file)
@@ -2,6 +2,7 @@ Long: delegation
 Arg: <LEVEL>
 Help: GSS-API delegation permission
 Protocols: GSS/kerberos
+Category: misc
 ---
 Set LEVEL to tell the server what it is allowed to delegate when it
 comes to user credentials.
index 5cdd9258a01eb189b4dc8cfadc4ff389a7d724bf..da8c01e26523c706992651badc8249e43bc4a8fd 100644 (file)
@@ -3,6 +3,7 @@ Help: Use HTTP Digest Authentication
 Protocols: HTTP
 Mutexed: basic ntlm negotiate
 See-also: user proxy-digest anyauth
+Category: proxy auth http
 ---
 Enables HTTP Digest authentication. This is an authentication scheme that
 prevents the password from being sent over the wire in clear text. Use this in
index a1e53c0bd1bd20185ad955dc2a083c7d4a88af8a..ffcf684e4a3f29c6168e3498bf8acb77213db8b6 100644 (file)
@@ -1,6 +1,7 @@
 Long: disable-eprt
 Help: Inhibit using EPRT or LPRT
 Protocols: FTP
+Category: ftp
 ---
 Tell curl to disable the use of the EPRT and LPRT commands when doing active
 FTP transfers. Curl will normally always first attempt to use EPRT, then LPRT
index 6d2cb708984fc2fd0fdfcc3a77ae9aea51c12e02..df1de8304142180026b562e91b7680ad2cab30a8 100644 (file)
@@ -1,6 +1,7 @@
 Long: disable-epsv
 Help: Inhibit using EPSV
 Protocols: FTP
+Category: ftp
 ---
 (FTP) Tell curl to disable the use of the EPSV command when doing passive FTP
 transfers. Curl will normally always first attempt to use EPSV before PASV,
index 20b27b4c52437ea30c665f154c5c9d990bf1edba..688fc0c54d267253d6fa60df52f3059df22b1197 100644 (file)
@@ -1,6 +1,7 @@
 Long: disable
 Short: q
 Help: Disable .curlrc
+Category: curl
 ---
 If used as the first parameter on the command line, the \fIcurlrc\fP config
 file will not be read and used. See the --config for details on the default
index a7f46ea15c64bdf66bbcfb1e9f372a6878d6252c..e124f675a96ea25ff4b919e8ef15248f381349cb 100644 (file)
@@ -3,5 +3,6 @@ Help: Disallow username in url
 Protocols: HTTP
 Added: 7.61.0
 See-also: proto
+Category: curl http
 ---
 This tells curl to exit if passed a url containing a username.
index 45e5af263e3e2473f318820b8b9bd5968dad0fc1..3cb818ae3e3dc286772a1e8ff4846be2aa3e0c54 100644 (file)
@@ -5,6 +5,7 @@ Protocols: DNS
 See-also: dns-ipv4-addr dns-ipv6-addr
 Added: 7.33.0
 Requires: c-ares
+Category: dns
 ---
 Tell curl to send outgoing DNS requests through <interface>. This option is a
 counterpart to --interface (which does not affect DNS). The supplied string
index 597b8588458300b5188bb88b4c7a9ca4546e3696..5ebdda5cad05026bfc75a3e4b57a4b658078bff8 100644 (file)
@@ -5,6 +5,7 @@ Protocols: DNS
 See-also: dns-interface dns-ipv6-addr
 Added: 7.33.0
 Requires: c-ares
+Category: dns
 ---
 Tell curl to bind to <ip-address> when making IPv4 DNS requests, so that
 the DNS requests originate from this address. The argument should be a
index 581f0195370538c12115015f34b9b985620d0141..10e8076461d4a78119a1a30d133c97cb34019301 100644 (file)
@@ -5,6 +5,7 @@ Protocols: DNS
 See-also: dns-interface dns-ipv4-addr
 Added: 7.33.0
 Requires: c-ares
+Category: dns
 ---
 Tell curl to bind to <ip-address> when making IPv6 DNS requests, so that
 the DNS requests originate from this address. The argument should be a
index a98fd07d895910721a57423f77f84184403d9f8e..8665426a83a8a8a41da26bb3d23490af0ea1daee 100644 (file)
@@ -3,6 +3,7 @@ Arg: <addresses>
 Help: DNS server addrs to use
 Requires: c-ares
 Added: 7.33.0
+Category: dns
 ---
 Set the list of DNS servers to be used instead of the system default.
 The list of IP addresses should be separated with commas. Port numbers
index c871c4d22151833f27a993c9f145413c026fe1aa..7fce4460d9dcd5978ac8438229d3968f6c8b905d 100644 (file)
@@ -3,6 +3,7 @@ Arg: <URL>
 Help: Resolve host names over DOH
 Protocols: all
 Added: 7.62.0
+Category: dns
 ---
 Specifies which DNS-over-HTTPS (DOH) server to use to resolve hostnames,
 instead of using the default name resolver mechanism. The URL must be HTTPS.
index 33c6674e807c3b8718f230043f654996bd6af447..8449dfe8516dcc7aeefc40a7b3580c5dc76e9597 100644 (file)
@@ -4,6 +4,7 @@ Arg: <filename>
 Help: Write the received headers to <filename>
 Protocols: HTTP FTP
 See-also: output
+Category: http ftp
 ---
 Write the received protocol headers to the specified file.
 
index c22790f6ae7fc1ce7e2c812600e0cd1f946097ea..05ede9ad13844a6502098ffd38a6bf2b4e098032 100644 (file)
@@ -3,6 +3,7 @@ Arg: <file>
 Help: EGD socket path for random data
 Protocols: TLS
 See-also: random-file
+Category: tls
 ---
 Specify the path name to the Entropy Gathering Daemon socket. The socket is
 used to seed the random engine for SSL connections.
index cde1a477357bae085dac8a7e2ba8114ed574e660..9ed0cf1b0bf20cccae81f76c076082c58e659363 100644 (file)
@@ -2,6 +2,7 @@ Long: engine
 Arg: <name>
 Help: Crypto engine to use
 Protocols: TLS
+Category: tls
 ---
 Select the OpenSSL crypto engine to use for cipher operations. Use --engine
 list to print a list of build-time supported engines. Note that not all (or
index 1a698a8ffe1678c3ba7b8921defc753d5f0380bf..cbf48ac5e6ed6f9e563e46c1774a6a4095fd6842 100644 (file)
@@ -3,6 +3,7 @@ Arg: <file>
 Help: Pass an ETag from a file as a custom header
 Protocols: HTTP
 Added: 7.68.0
+Category: http
 ---
 This option makes a conditional HTTP request for the specific
 ETag read from the given file by sending a custom If-None-Match
index 214723ff516ab772f9c1681ef351bb9e7eef46be..82e6dfa84df1801ef3a61d1a8ba7cbc86205faeb 100644 (file)
@@ -3,6 +3,7 @@ Arg: <file>
 Help: Parse ETag from a request and save it to a file
 Protocols: HTTP
 Added: 7.68.0
+Category: http
 ---
 This option saves an HTTP ETag to the specified file. Etag is
 usually part of headers returned by a request. When server sends an
index c88f0b84fd8e1e080773b95349d506121e81c64b..431a529c297148ee0610ae9feaf5a1ff2c604e3d 100644 (file)
@@ -4,6 +4,7 @@ Help: How long to wait for 100-continue
 Protocols: HTTP
 Added: 7.47.0
 See-also: connect-timeout
+Category: http
 ---
 Maximum time in seconds that you allow curl to wait for a 100-continue
 response when curl emits an Expects: 100-continue header in its request. By
index 375d4c919544f16e28b5be0f4046adeaedf5d130..3fbe238af205c7da686ef9606ac2cc10261b6052 100644 (file)
@@ -1,6 +1,7 @@
 Long: fail-early
 Help: Fail on first transfer error, do not continue
 Added: 7.52.0
+Category: curl
 ---
 Fail and exit on the first detected transfer error.
 
index c46c571bfe970f98a04ed0dc4ec958c8585e0378..7fc76fb6a11518e4da9135c6e255139a2350f029 100644 (file)
@@ -2,6 +2,7 @@ Long: fail
 Short: f
 Protocols: HTTP
 Help: Fail silently (no output at all) on HTTP errors
+Category: important http
 ---
 Fail silently (no output at all) on server errors. This is mostly done to
 better enable scripts etc to better deal with failed attempts. In normal cases
index 65a8afb8f3e3cd4bb7af884b065f8ee94d44b0ad..abeff0eb5cfdee35b89089340ad30ca5d61a0941 100644 (file)
@@ -2,6 +2,7 @@ Long: false-start
 Help: Enable TLS False Start
 Protocols: TLS
 Added: 7.42.0
+Category: tls
 ---
 Tells curl to use false start during the TLS handshake. False start is a mode
 where a TLS client will start sending application data before verifying the
index 49d0d44ef8456d8c316ffe511b661ac316d93ab2..04d2578c55968476b8f70bf731f620947283c4a0 100644 (file)
@@ -3,6 +3,7 @@ Help: Specify multipart MIME data
 Protocols: HTTP SMTP IMAP
 Arg: <name=string>
 See-also: form
+Category: http upload
 ---
 Similar to --form except that the value string for the named parameter is used
 literally. Leading \&'@' and \&'<' characters, and the \&';type=' string in
index 7f1aa31c3b43abf66fad068fb0aff21ca8ce96b5..3cd8dce756de49bd7ad957e54be41ea0d5a3cefb 100644 (file)
@@ -4,6 +4,7 @@ Arg: <name=content>
 Help: Specify multipart MIME data
 Protocols: HTTP SMTP IMAP
 Mutexed: data head upload-file
+Category: http upload
 ---
 For HTTP protocol family, this lets curl emulate a filled-in form in which a
 user has pressed the submit button. This causes curl to POST data using the
index 013c4f37b2115147c4ea460a449ff08304069650..bc04ba0472b668ae30b447f56df2b17697e8cfce 100644 (file)
@@ -3,6 +3,7 @@ Arg: <data>
 Help: Account data string
 Protocols: FTP
 Added: 7.13.0
+Category: ftp auth
 ---
 When an FTP server asks for "account data" after user name and password has
 been provided, this data is sent off using the ACCT command.
index 8982ba8b854685ff0bd75a4be61baa0bcd92ceae..1714849063de176bf36c5bad8470bc5dd7771a00 100644 (file)
@@ -3,6 +3,7 @@ Arg: <command>
 Help: String to replace USER [name]
 Protocols: FTP
 Added: 7.15.5
+Category: ftp
 ---
 If authenticating with the USER and PASS commands fails, send this command.
 When connecting to Tumbleweed's Secure Transport server over FTPS using a
index ede57100d1e0f5164102c9f94296c871ebcd62cd..5d9dfda46a3ebdfc6ef99d31ade8ec2a0eb5425d 100644 (file)
@@ -2,6 +2,7 @@ Long: ftp-create-dirs
 Protocols: FTP SFTP
 Help: Create the remote dirs if not present
 See-also: create-dirs
+Category: ftp sftp curl
 ---
 When an FTP or SFTP URL/operation uses a path that doesn't currently exist on
 the server, the standard behavior of curl is to fail. Using this option, curl
index 95aa522e829ea60bdfc0b2427b22d79c0d9eb57b..149340b82f581259f33236adb1caf25615151831 100644 (file)
@@ -3,6 +3,7 @@ Arg: <method>
 Help: Control CWD usage
 Protocols: FTP
 Added: 7.15.1
+Category: ftp
 ---
 Control what method curl should use to reach a file on an FTP(S)
 server. The method argument should be one of the following alternatives:
index 44103e21a380c7398491dcb2cc2139c4f4e0dd51..cbd548de322c30d9e3113f8a1e11ff4274858f90 100644 (file)
@@ -3,6 +3,7 @@ Help: Use PASV/EPSV instead of PORT
 Protocols: FTP
 Added: 7.11.0
 See-also: disable-epsv
+Category: ftp
 ---
 Use passive mode for the data connection. Passive is the internal default
 behavior, but using this option can be used to override a previous --ftp-port
index e4b14560820ea3642125de42f19db8bcf707b2fd..9bb1d43f0eeb7a429b289734e0dcff9052693c4e 100644 (file)
@@ -4,6 +4,7 @@ Help: Use PORT instead of PASV
 Short: P
 Protocols: FTP
 See-also: ftp-pasv disable-eprt
+Category: ftp
 ---
 Reverses the default initiator/listener roles when connecting with FTP. This
 option makes curl use active mode. curl then tells the server to connect back
index dac4c35319b0511ae207c3033d391cf46742fc0d..e9c7d251a6ce6656ad4b962d7becde10b7989ce0 100644 (file)
@@ -2,6 +2,7 @@ Long: ftp-pret
 Help: Send PRET before PASV
 Protocols: FTP
 Added: 7.20.0
+Category: ftp
 ---
 Tell curl to send a PRET command before PASV (and EPSV). Certain FTP servers,
 mainly drftpd, require this non-standard command for directory listings as
index da6ab11fc72109c08b458dd5c0bc1bf8279d5698..d6fd4589b1e96801cc8a805b4048eae2844b7e43 100644 (file)
@@ -3,6 +3,7 @@ Help: Skip the IP address for PASV
 Protocols: FTP
 Added: 7.14.2
 See-also: ftp-pasv
+Category: ftp
 ---
 Tell curl to not use the IP address the server suggests in its response
 to curl's PASV command when curl connects the data connection. Instead curl
index be10294985ad02b9017161b693b2fdb6f2cf2237..6289e544a87e84c9139eb777ea959e2188008ae9 100644 (file)
@@ -4,6 +4,7 @@ Help: Set CCC mode
 Protocols: FTP
 Added: 7.16.2
 See-also: ftp-ssl-ccc
+Category: ftp tls
 ---
 Sets the CCC mode. The passive mode will not initiate the shutdown, but
 instead wait for the server to do it, and will not reply to the shutdown from
index c6edc5b395ef6a0e009f7d20f88ed23ff5d7f30c..33cab4302a51d18fb900357d733d642849772817 100644 (file)
@@ -3,6 +3,7 @@ Help: Send CCC after authenticating
 Protocols: FTP
 See-also: ssl ftp-ssl-ccc-mode
 Added: 7.16.1
+Category: ftp tls
 ---
 Use CCC (Clear Command Channel) Shuts down the SSL/TLS layer after
 authenticating. The rest of the control channel communication will be
index 87a822531dd40b3e1a8d9415d3952a308b22d22d..5191353ddc64100dccb23d5de8d2a0cb66f09bb8 100644 (file)
@@ -2,6 +2,7 @@ Long: ftp-ssl-control
 Help: Require SSL/TLS for FTP login, clear for transfer
 Protocols: FTP
 Added: 7.16.0
+Category: ftp tls
 ---
 Require SSL/TLS for the FTP login, clear for transfer.  Allows secure
 authentication, but non-encrypted data transfers for efficiency.  Fails the
index 0c434dac99fb0beb788e3c0132d2f06b74040376..3fec1646db6a5688bded3ec201e7ac4d1ed87ced 100755 (executable)
@@ -43,6 +43,7 @@ my %helplong;
 my %arglong;
 my %redirlong;
 my %protolong;
+my %catlong;
 
 # get the long name version, return the man page string
 sub manpageify {
@@ -126,6 +127,7 @@ sub single {
     my $arg;
     my $mutexed;
     my $requires;
+    my $category;
     my $seealso;
     my $magic; # cmdline special option
     while(<F>) {
@@ -159,6 +161,9 @@ sub single {
         elsif(/^Requires: *(.*)/i) {
             $requires=$1;
         }
+        elsif(/^Category: *(.*)/i) {
+            $category=$1;
+        }
         elsif(/^Help: *(.*)/i) {
             ;
         }
@@ -166,6 +171,9 @@ sub single {
             if(!$long) {
                 print STDERR "WARN: no 'Long:' in $f\n";
             }
+            if(!$category) {
+                print STDERR "WARN: no 'Category:' in $f\n";
+            }
             last;
         }
         else {
@@ -274,6 +282,7 @@ sub getshortlong {
     my $help;
     my $arg;
     my $protocols;
+    my $category;
     while(<F>) {
         if(/^Short: (.)/i) {
             $short=$1;
@@ -290,6 +299,9 @@ sub getshortlong {
         elsif(/^Protocols: (.*)/i) {
             $protocols=$1;
         }
+        elsif(/^Category: (.*)/i) {
+            $category=$1;
+        }
         elsif(/^---/) {
             last;
         }
@@ -303,6 +315,7 @@ sub getshortlong {
         $helplong{$long}=$help;
         $arglong{$long}=$arg;
         $protolong{$long}=$protocols;
+        $catlong{$long}=$category;
     }
 }
 
@@ -328,6 +341,8 @@ sub listhelp {
     foreach my $f (sort keys %helplong) {
         my $long = $f;
         my $short = $optlong{$long};
+        my @categories = split ' ', $catlong{$long};
+        my $bitmask;
         my $opt;
 
         if(defined($short) && $long) {
@@ -336,7 +351,13 @@ sub listhelp {
         elsif($long && !$short) {
             $opt = "    --$long";
         }
-
+        for my $i (0 .. $#categories) {
+            $bitmask .= 'CURLHELP_' . uc $categories[$i];
+            # If not last element, append |
+            if($i < $#categories) {
+                $bitmask .= ' | ';
+            }
+        }
         my $arg = $arglong{$long};
         if($arg) {
             $opt .= " $arg";
@@ -344,7 +365,7 @@ sub listhelp {
         my $desc = $helplong{$f};
         $desc =~ s/\"/\\\"/g; # escape double quotes
 
-        my $line = sprintf "  {\"%s\",\n   \"%s\"},\n", $opt, $desc;
+        my $line = sprintf "  {\"%s\",\n   \"%s\",\n   %s},\n", $opt, $desc, $bitmask;
 
         if(length($opt) + length($desc) > 78) {
             print STDERR "WARN: the --$long line is too long\n";
@@ -353,6 +374,25 @@ sub listhelp {
     }
 }
 
+sub listcats {
+    my %allcats;
+    foreach my $f (sort keys %helplong) {
+        my @categories = split ' ', $catlong{$f};
+        foreach (@categories) {
+            $allcats{$_} = undef;
+        }
+    }
+    my @categories;
+    foreach my $key (keys %allcats) {
+        push @categories, $key;
+    }
+    @categories = sort @categories;
+    unshift @categories, 'hidden';
+    for my $i (0..$#categories) {
+        print '#define ' . 'CURLHELP_' . uc($categories[$i]) . ' ' . "1u << " . $i . "u\n";
+    }
+}
+
 sub mainpage {
     my (@files) = @_;
     # show the page header
@@ -406,8 +446,12 @@ sub getargs {
         showprotocols();
         return;
     }
+    elsif($f eq "listcats") {
+        listcats();
+        return;
+    }
 
-    print "Usage: gen.pl <mainpage/listhelp/single FILE/protos> [files]\n";
+    print "Usage: gen.pl <mainpage/listhelp/single FILE/protos/listcats> [files]\n";
 }
 
 #------------------------------------------------------------------------
index be7cb25f0cc6ddbb90ebebd1ae4202d4e6d7dee7..d529bb4e0bb66593726876f297586912fa6eabf6 100644 (file)
@@ -1,6 +1,7 @@
 Long: get
 Short: G
 Help: Put the post data in the URL and use GET
+Category: http upload
 ---
 When used, this option will make all data specified with --data, --data-binary
 or --data-urlencode to be used in an HTTP GET request instead of the POST
index fff6516b6d0ec8528e35d770582672fba76ff65b..4b5f30de916a8d62354a50c5fb9d4c43b033edd1 100644 (file)
@@ -1,6 +1,7 @@
 Long: globoff
 Short: g
 Help: Disable URL sequences and ranges using {} and []
+Category: curl
 ---
 This option switches off the "URL globbing parser". When you set this option,
 you can specify URLs that contain the letters {}[] without having them being
index 611a8f1d81e5182ed286493a807bb336ed590b5a..ceff2a7df6498e0084befee7799a6430c33d9d51 100644 (file)
@@ -2,6 +2,7 @@ Long: happy-eyeballs-timeout-ms
 Arg: <milliseconds>
 Help: Time for IPv6 before trying IPv4
 Added: 7.59.0
+Category: connection
 ---
 Happy eyeballs is an algorithm that attempts to connect to both IPv4 and IPv6
 addresses for dual-stack hosts, preferring IPv6 first for the number of
index cc41c9c447276fd99d86f07f1b5e05fc88b493df..835820465a551dbb8826b405fbeb272e89b2530b 100644 (file)
@@ -2,6 +2,7 @@ Long: haproxy-protocol
 Help: Send HAProxy PROXY protocol v1 header
 Protocols: HTTP
 Added: 7.60.0
+Category: http proxy
 ---
 Send a HAProxy PROXY protocol v1 header at the beginning of the connection. This
 is used by some load balancers and reverse proxies to indicate the client's
index 350a100f6558bcd404a5589bb6436ea2b0968d8f..6fe468511e17f90182b3fe2dfd87a8e58a5189a8 100644 (file)
@@ -2,6 +2,7 @@ Long: head
 Short: I
 Help: Show document info only
 Protocols: HTTP FTP FILE
+Category: http ftp file
 ---
 Fetch the headers only! HTTP-servers feature the command HEAD which this uses
 to get nothing but the header of a document. When used on an FTP or FILE file,
index d8292ed7754175ccb7234266f652944796dcfa3e..e84168996c7f6c66e0b300b70c1d193d2ff7b9ea 100644 (file)
@@ -3,6 +3,7 @@ Short: H
 Arg: <header/@file>
 Help: Pass custom header(s) to server
 Protocols: HTTP
+Category: http
 ---
 Extra header to include in the request when sending HTTP to a server. You may
 specify any number of extra headers. Note that if you should add a custom
index 64aa696d476fffa8842a75cb476eb4c7a57110a6..bf80b781891cc4848d57daed44681c7e93097efc 100644 (file)
@@ -1,6 +1,12 @@
 Long: help
+Arg: <category>
 Short: h
-Help: This help text
+Help: Get help for commands
+Category: important curl
 ---
-Usage help. This lists all current command line options with a short
-description.
+Usage help. This lists all commands of the <category>.
+If no arg was provided, curl will display the most important
+command line arguments and the list of categories.
+If the argument "all" was provided, curl will display all options available.
+If the argument "category" was provided, curl will display all categories and
+their meanings.
index a851158031281f26a093063e80389a938f1d22ac..c926ed8b5051f35a7d515e1ed96249dfb9cee57c 100644 (file)
@@ -3,6 +3,7 @@ Arg: <md5>
 Help: Acceptable MD5 hash of the host public key
 Protocols: SFTP SCP
 Added: 7.17.1
+Category: sftp scp
 ---
 Pass a string containing 32 hexadecimal digits. The string should
 be the 128 bit MD5 checksum of the remote host's public key, curl will refuse
index 7e783f696b562d21915bf063c61236e5c217a429..954c22a17ad567ab52816ccf31da9b5e1c072ad2 100644 (file)
@@ -3,6 +3,7 @@ Tags: Versions
 Protocols: HTTP
 Added:
 Help: Allow HTTP 0.9 responses
+Category: http
 ---
 Tells curl to be fine with HTTP version 0.9 response.
 
index d9bbd76f0fa12846cc60a9689738f0a054520180..a4059dbf0f341ae2a7a6b5aef19b04267271d28b 100644 (file)
@@ -5,6 +5,7 @@ Protocols: HTTP
 Added:
 Mutexed: http1.1 http2
 Help: Use HTTP 1.0
+Category: http
 ---
 Tells curl to use HTTP version 1.0 instead of using its internally preferred
 HTTP version.
index f1e6b5c3bc31b7754cc7e8e94c7bf74369039ca0..a71a40bab2f4adf144f104420853669eb4fdcc13 100644 (file)
@@ -4,5 +4,6 @@ Protocols: HTTP
 Added: 7.33.0
 Mutexed: http1.0 http2
 Help: Use HTTP 1.1
+Category: http
 ---
 Tells curl to use HTTP version 1.1.
index f793f775dda685a3503c5f0badf70f0a8d0ccc51..ea2906edb465c3f4aa085ca2c23125b51cae9aa4 100644 (file)
@@ -5,6 +5,7 @@ Added: 7.49.0
 Mutexed: http1.1 http1.0 http2
 Requires: HTTP/2
 Help: Use HTTP 2 without HTTP/1.1 Upgrade
+Category: http
 ---
 Tells curl to issue its non-TLS HTTP requests using HTTP/2 without HTTP/1.1
 Upgrade. It requires prior knowledge that the server supports HTTP/2 straight
index cf8f2988e627cebb7d0fe0a95a40b96cbfa8e4e5..197515ee8cbc7607f13dffff62e55e861b429485 100644 (file)
@@ -7,5 +7,6 @@ Requires: HTTP/2
 See-also: no-alpn
 Help: Use HTTP 2
 See-also: http1.1 http3
+Category: http
 ---
 Tells curl to use HTTP version 2.
index 8265937a3d194fa44f2195a70d000b2098ed6088..478b662aa90e037ba63feb23a897f6cfa325c33b 100644 (file)
@@ -6,6 +6,7 @@ Mutexed: http1.1 http1.0 http2 http2-prior-knowledge
 Requires: HTTP/3
 Help: Use HTTP v3
 See-also: http1.1 http2
+Category: http
 ---
 
 WARNING: this option is experimental. Do not use in production.
index 53524f5184151ce66f15927e38cfbda8dc31b514..82ac5da0918d158ae9b8c45a3b9853bb938d99bf 100644 (file)
@@ -1,6 +1,7 @@
 Long: ignore-content-length
 Help: Ignore the size of the remote resource
 Protocols: FTP HTTP
+Category: http ftp
 ---
 For HTTP, Ignore the Content-Length header. This is particularly useful for
 servers running Apache 1.x, which will report incorrect Content-Length for
index 9d282dd162f29aaee49b9c15d6d38814b24afe8b..250d4accfd0c215d679715253a11133c17d00c83 100644 (file)
@@ -2,6 +2,7 @@ Long: include
 Short: i
 Help: Include protocol response headers in the output
 See-also: verbose
+Category: important verbose
 ---
 Include the HTTP response headers in the output. The HTTP response headers can
 include things like server name, cookies, date of the document, HTTP version
index 49b0a4322858842562f205bf8a5945258fd3eb01..35f4a2e0f5ba3b0e4958d989bc973e148d937ac0 100644 (file)
@@ -3,6 +3,7 @@ Short: k
 Help: Allow insecure server connections when using SSL
 Protocols: TLS
 See-also: proxy-insecure cacert
+Category: tls
 ---
 
 By default, every SSL connection curl makes is verified to be secure. This
index 65827fb8be1fb33b270873ede8f89b089053104a..196e7efa34f7486a7989766566cc4c60214a1d58 100644 (file)
@@ -2,6 +2,7 @@ Long: interface
 Arg: <name>
 Help: Use network INTERFACE (or address)
 See-also: dns-interface
+Category: connection
 ---
 
 Perform an operation using a specified interface. You can enter interface
index 9c40c8c3eebf243863eb6ee7fc7bbeaa86b4cf61..a6691376a6092cec789a21d3e539a824c7190c2b 100644 (file)
@@ -7,6 +7,7 @@ Mutexed: ipv6
 Requires:
 See-also: http1.1 http2
 Help: Resolve names to IPv4 addresses
+Category: connection dns
 ---
 This option tells curl to resolve names to IPv4 addresses only, and not for
 example try IPv6.
index 6eef6dd03b4b7a57caf085f56be2ac3cecf3ecf1..ce0415caa91566e81d3b3ef44a4dc59dd6056297 100644 (file)
@@ -7,6 +7,7 @@ Mutexed: ipv4
 Requires:
 See-also: http1.1 http2
 Help: Resolve names to IPv6 addresses
+Category: connection dns
 ---
 This option tells curl to resolve names to IPv6 addresses only, and not for
 example try IPv4.
index 40ccd9c2df03bfea83b0656c175c74c67214aea0..993b77fa820aefae688de355c8ad40cc3400980c 100644 (file)
@@ -3,6 +3,7 @@ Short: j
 Help: Ignore session cookies read from file
 Protocols: HTTP
 See-also: cookie cookie-jar
+Category: http
 ---
 When curl is told to read cookies from a given file, this option will make it
 discard all "session cookies". This will basically have the same effect as if
index c816e13ff0f6c39b8320c131035f133428f3cbad..41261535c835a08960a8004ee024dbd0caa7e941 100644 (file)
@@ -2,6 +2,7 @@ Long: keepalive-time
 Arg: <seconds>
 Help: Interval time for keepalive probes
 Added: 7.18.0
+Category: connection
 ---
 This option sets the time a connection needs to remain idle before sending
 keepalive probes and the time between individual keepalive probes. It is
index bf39bcd3572aa4e29688246ff9d38ca4a37f045b..50a068676ad77c6075bb7e4a857acaf6f794fb70 100644 (file)
@@ -2,6 +2,7 @@ Long: key-type
 Arg: <type>
 Help: Private key file type (DER/PEM/ENG)
 Protocols: TLS
+Category: tls
 ---
 Private key file type. Specify which type your --key provided private key
 is. DER, PEM, and ENG are supported. If not specified, PEM is assumed.
index 855e2f7b6bc576f114fdd3d39c937b9cd71961d9..a762e6fafe9700f6ee95ef7281e1b66ae7f684ba 100644 (file)
@@ -2,6 +2,7 @@ Long: key
 Arg: <key>
 Protocols: TLS SSH
 Help: Private key file name
+Category: tls ssh
 ---
 Private key file name. Allows you to provide your private key in this separate
 file. For SSH, if not specified, curl tries the following candidates in order:
index 19547af0803bf9d1debb7e06ab533b73176806fd..7759cfb04be5d041a93b55459fe4f122a6aa387d 100644 (file)
@@ -3,6 +3,7 @@ Arg: <level>
 Help: Enable Kerberos with security <level>
 Protocols: FTP
 Requires: Kerberos
+Category: ftp
 ---
 Enable Kerberos authentication and use. The level must be entered and should
 be one of 'clear', 'safe', 'confidential', or 'private'. Should you use a
index ef132fe745b45d5df99c9921c38ae249fca56d82..eb9850c680cc4362c117e3bea8f5c9d9e9ca225c 100644 (file)
@@ -2,6 +2,7 @@ Long: libcurl
 Arg: <file>
 Help: Dump libcurl equivalent code of this command line
 Added: 7.16.1
+Category: curl
 ---
 Append this option to any ordinary curl command line, and you will get a
 libcurl-using C source code written to the file that does the equivalent
index 06c456e3e757525e8691f4a346fa6c4b2409f432..cb3a8607707bcb186eb2aaaaf6a15b1b718dd56c 100644 (file)
@@ -1,6 +1,7 @@
 Long: limit-rate
 Arg: <speed>
 Help: Limit transfer speed to RATE
+Category: connection
 ---
 Specify the maximum transfer rate you want curl to use - for both downloads
 and uploads. This feature is useful if you have a limited pipe and you'd like
index 63b2851f4c941a43e14ad9a6b6bd87b4762eebb9..c69885801b4de28f5baf971a65d74ec91eaefed8 100644 (file)
@@ -3,6 +3,7 @@ Short: l
 Protocols: FTP POP3
 Help: List only mode
 Added: 4.0
+Category: ftp pop3
 ---
 (FTP)
 When listing an FTP directory, this switch forces a name-only view. This is
index d96b46eb89339eb1ddf1a83a4d5d018bc66793ba..3f7a0e024a3dab7ece3292feb7cd0e87e58ff932 100644 (file)
@@ -2,6 +2,7 @@ Long: local-port
 Arg: <num/range>
 Help: Force use of RANGE for local port numbers
 Added: 7.15.2
+Category: connection
 ---
 Set a preferred single number or range (FROM-TO) of local port numbers to use
 for the connection(s).  Note that port numbers by nature are a scarce resource
index 995a8718aae843a901717cb4f6fe412cfc67dde9..f01d842bc5e610894f96936ad5e0a027034fffaa 100644 (file)
@@ -2,6 +2,7 @@ Long: location-trusted
 Help: Like --location, and send auth to other hosts
 Protocols: HTTP
 See-also: user
+Category: http auth
 ---
 Like --location, but will allow sending the name + password to all hosts that
 the site may redirect to. This may or may not introduce a security breach if
index b5ba1f4faa9516b406ca1dca5d48ed2afab3ad18..c70b2eba885cc156d41d03d43a4b8a28d83ce658 100644 (file)
@@ -2,6 +2,7 @@ Long: location
 Short: L
 Help: Follow redirects
 Protocols: HTTP
+Category: http
 ---
 If the server reports that the requested page has moved to a different
 location (indicated with a Location: header and a 3XX response code), this
index 8bad0511d458629b1b492f43fd70990b08b05632..887d5d517eaf30305e04f8663e00da611905ddeb 100644 (file)
@@ -3,6 +3,7 @@ Arg: <options>
 Protocols: IMAP POP3 SMTP
 Help: Server login options
 Added: 7.34.0
+Category: imap pop3 smtp auth
 ---
 Specify the login options to use during server authentication.
 
index 70cf0eda4614fed7aee363461061371f57480341..529997161dd8bf210745066d89f22894f3441528 100644 (file)
@@ -4,6 +4,7 @@ Protocols: SMTP
 Help: Originator address of the original email
 Added: 7.25.0
 See-also: mail-rcpt mail-from
+Category: smtp
 ---
 Specify a single address. This will be used to specify the authentication
 address (identity) of a submitted message that is being relayed to another
index 1d932344cfe5731a5cc3b3b842a8c7b589c41eef..faf48e2a4b02754a34b2f3c27d5a601932a10b7d 100644 (file)
@@ -4,5 +4,6 @@ Help: Mail from this address
 Protocols: SMTP
 Added: 7.20.0
 See-also: mail-rcpt mail-auth
+Category: smtp
 ---
 Specify a single address that the given mail should get sent from.
index b5723df3462321556fc6abc8bb229951f36a3047..76457c32ea984f5986916823c6935a39eb30c863 100644 (file)
@@ -2,6 +2,7 @@ Long: mail-rcpt-allowfails
 Help: Allow RCPT TO command to fail for some recipients
 Protocols: SMTP
 Added: 7.69.0
+Category: smtp
 ---
 When sending data to multiple recipients, by default curl will abort SMTP
 conversation if at least one of the recipients causes RCPT TO command to
index 0a2859b6884fd7f29fc27a44cd3c93d6d242139b..d8ae046ee4def6ae870f2a71fe4263c26e807560 100644 (file)
@@ -3,6 +3,7 @@ Arg: <address>
 Help: Mail to this address
 Protocols: SMTP
 Added: 7.20.0
+Category: smtp
 ---
 Specify a single address, user name or mailing list name. Repeat this
 option several times to send to multiple recipients.
index a9dbb0c78adcb2384b20852535532dc6a4bb438d..25ed08dd274765b47d0dd6b7e93b0be1336d8e6c 100644 (file)
@@ -1,5 +1,6 @@
 Long: manual
 Short: M
 Help: Display the full manual
+Category: curl
 ---
 Manual. Display the huge help text.
index 50d5266e1b1ec310307cac3061d4ddb1f8d1ae56..1f6bdc663d1f8662291cbf2515de6a0f18c5eb7b 100644 (file)
@@ -2,6 +2,7 @@ Long: max-filesize
 Arg: <bytes>
 Help: Maximum file size to download
 See-also: limit-rate
+Category: connection
 ---
 Specify the maximum size (in bytes) of a file to download. If the file
 requested is larger than this value, the transfer will not start and curl will
index a97860a8bd6a7179181d034c1eb8072b4b055d80..ba16c43fc1f0ffcb47b8c415b383210f6ea1522c 100644 (file)
@@ -2,6 +2,7 @@ Long: max-redirs
 Arg: <num>
 Help: Maximum number of redirects allowed
 Protocols: HTTP
+Category: http
 ---
 Set maximum number of redirection-followings allowed. When --location is used,
 is used to prevent curl from following redirections too much. By default, the
index 0057f9d0472fc79bbf24cb78c97840476ff45271..c4e4ed7eb48c2b37781f3ab358f1d9f43de3e40c 100644 (file)
@@ -3,6 +3,7 @@ Short: m
 Arg: <seconds>
 Help: Maximum time allowed for the transfer
 See-also: connect-timeout
+Category: connection
 ---
 Maximum time in seconds that you allow the whole operation to take.  This is
 useful for preventing your batch jobs from hanging for hours due to slow
index 81fc8bc78c17412502b9f52c903150612d97dd88..88376643975db72ad263dde83dd8c0172da7d430 100644 (file)
@@ -2,6 +2,7 @@ Long: metalink
 Help: Process given URLs as metalink XML file
 Added: 7.27.0
 Requires: metalink
+Category: misc
 ---
 This option can tell curl to parse and process a given URI as Metalink file
 (both version 3 and 4 (RFC 5854) are supported) and make use of the mirrors
index 69a6b91709507f2fcd5aeb230297d0df36de92ac..e247bfbee5b2d5c91f2cc66f747321715d3362de 100644 (file)
@@ -2,6 +2,7 @@ Long: negotiate
 Help: Use HTTP Negotiate (SPNEGO) authentication
 Protocols: HTTP
 See-also: basic ntlm anyauth proxy-negotiate
+Category: auth http
 ---
 Enables Negotiate (SPNEGO) authentication.
 
index 50126d25549f8483592cf69345afb48504b472d6..95fb2654a2418fc1761221766d61124fa5a7c6c8 100644 (file)
@@ -3,6 +3,7 @@ Help: Specify FILE for netrc
 Arg: <filename>
 Added: 7.21.5
 Mutexed: netrc
+Category: curl
 ---
 This option is similar to --netrc, except that you provide the path (absolute
 or relative) to the netrc file that curl should use.  You can only specify one
index c285403094a5ea526d0bbeb837c040d261a0970a..fa92032bd234f8df2922ac8bb2587356692a77af 100644 (file)
@@ -2,6 +2,7 @@ Long: netrc-optional
 Help: Use either .netrc or URL
 Mutexed: netrc
 See-also: netrc-file
+Category: curl
 ---
 Very similar to --netrc, but this option makes the .netrc usage \fBoptional\fP
 and not mandatory as the --netrc option does.
index 2df26782cce6af4acfca7f6a6ea56e5ac838c3bc..6aac568a6438b4f4fb40560e4658a64fdaf20cbb 100644 (file)
@@ -1,6 +1,7 @@
 Long: netrc
 Short: n
 Help: Must read .netrc for user name and password
+Category: curl
 ---
 Makes curl scan the \fI.netrc\fP (\fI_netrc\fP on Windows) file in the user's
 home directory for login name and password. This is typically used for FTP on
index 1d1e70a35c9b90f65047ba1f7af3d11e41f6af55..1adcc7535c1377834de1f7fa22aa3a5416d33714 100644 (file)
@@ -5,6 +5,7 @@ Protocols:
 Added: 7.36.0
 Magic: divider
 Help: Make next URL use its separate set of options
+Category: curl
 ---
 Tells curl to use a separate operation for the following URL and associated
 options. This allows you to send several URL requests, each with their own
index 88abb83682b88e98e115599622b7a9f9949f7822..8031b4f07987bae5699298d42f83b37e51c3a4ca 100644 (file)
@@ -5,6 +5,7 @@ Added: 7.36.0
 See-also: no-npn http2
 Requires: TLS
 Help: Disable the ALPN TLS extension
+Category: tls http
 ---
 Disable the ALPN TLS extension. ALPN is enabled by default if libcurl was built
 with an SSL library that supports ALPN. ALPN is used by a libcurl that supports
index 65a6282f64d4e3579c6da7657375cfd180c04a08..1079f47128cfc7ddec6718558a4d1358cdce4eec 100644 (file)
@@ -1,6 +1,7 @@
 Long: no-buffer
 Short: N
 Help: Disable buffering of the output stream
+Category: curl
 ---
 Disables the buffering of the output stream. In normal work situations, curl
 will use a standard buffered output stream that will have the effect that it
index 8fb28a0365e99f031989676778460f51a91cb15d..72f3bc9a5bc992b4ffa416ca78c3243651150d3a 100644 (file)
@@ -1,5 +1,6 @@
 Long: no-keepalive
 Help: Disable TCP keepalive on the connection
+Category: connection
 ---
 Disables the use of keepalive messages on the TCP connection. curl otherwise
 enables them by default.
index ab0f6de2e00ab3f765d0a42002f799a39553c2d7..27e5974bdf7bfd1a15f1ebb0204fc97eebebd89c 100644 (file)
@@ -6,6 +6,7 @@ Mutexed:
 See-also: no-alpn http2
 Requires: TLS
 Help: Disable the NPN TLS extension
+Category: tls http
 ---
 Disable the NPN TLS extension. NPN is enabled by default if libcurl was built
 with an SSL library that supports NPN. NPN is used by a libcurl that supports
index aff0717d37f80a7363811ed7b36bf751f2f7a9fd..bf28d635d5f209d3bd97b9d94f233c7ae2bad227 100644 (file)
@@ -2,6 +2,7 @@ Long: no-progress-meter
 Help: Do not show the progress meter
 See-also: verbose silent
 Added: 7.67.0
+Category: verbose
 ---
 Option to switch off the progress meter output without muting or otherwise
 affecting warning and informational messages like --silent does.
index 397a158697dc8769315843522daa0367eead991d..013ca4cb47e7958f2840e4bad04239c92556b47c 100644 (file)
@@ -2,6 +2,7 @@ Long: no-sessionid
 Help: Disable SSL session-ID reusing
 Protocols: TLS
 Added: 7.16.0
+Category: tls
 ---
 Disable curl's use of SSL session-ID caching.  By default all transfers are
 done using the cache. Note that while nothing should ever get hurt by
index a216e75f49496b6c2fb00ed4715d8d70d1078b22..12ce6d3ed205d3f55304f4c6c46332ea84c55c92 100644 (file)
@@ -2,6 +2,7 @@ Long: noproxy
 Arg: <no-proxy-list>
 Help: List of hosts which do not use proxy
 Added: 7.19.4
+Category: proxy
 ---
 Comma-separated list of hosts which do not use a proxy, if one is specified.
 The only wildcard is a single * character, which matches all hosts, and
index 7b9338408530ac8c6e466b9872bcf1f6264086f2..4a2f7e1e6a0ff8f262290d4e038fdeea38f20e97 100644 (file)
@@ -2,6 +2,7 @@ Long: ntlm-wb
 Help: Use HTTP NTLM authentication with winbind
 Protocols: HTTP
 See-also: ntlm proxy-ntlm
+Category: auth http
 ---
 Enables NTLM much in the style --ntlm does, but hand over the authentication
 to the separate binary ntlmauth application that is executed when needed.
index baaa1d534d3d2355e062bdbff45824d1e254b2ae..c63c086ebe409897df036348b3e760e2ceda4f9a 100644 (file)
@@ -4,6 +4,7 @@ Mutexed: basic negotiate digest anyauth
 See-also: proxy-ntlm
 Protocols: HTTP
 Requires: TLS
+Category: auth http
 ---
 Enables NTLM authentication. The NTLM authentication method was designed by
 Microsoft and is used by IIS web servers. It is a proprietary protocol,
index 30466e579ddc6a135f93674a50c4baaa61a06b73..e0ea210ed8a0fb7ad4b3c7f08a54db136220a696 100644 (file)
@@ -2,6 +2,7 @@ Long: oauth2-bearer
 Help: OAuth 2 Bearer Token
 Arg: <token>
 Protocols: IMAP POP3 SMTP HTTP
+Category: auth
 ---
 Specify the Bearer Token for OAUTH 2.0 server authentication. The Bearer Token
 is used in conjunction with the user name which can be specified as part of
index 7fbe9bfc3e53e51901dafd68f877a113f8056944..d2ff7738efca5ce5f19b2827d00ae9bfb00cffad 100644 (file)
@@ -3,6 +3,7 @@ Arg: <dir>
 Help: Directory to save files in
 Added: 7.73.0
 See-also: remote-name remote-header-name
+Category: curl
 ---
 
 This option specifies the directory in which files should be stored, when
index f310c267d7238f4971035ef2ef57877deba175e5..bf35bf4a09e31de93d9b81b0c3e8338449a985e7 100644 (file)
@@ -3,6 +3,7 @@ Arg: <file>
 Short: o
 Help: Write to file instead of stdout
 See-also: remote-name remote-name-all remote-header-name
+Category: important curl
 ---
 Write output to <file> instead of stdout. If you are using {} or [] to fetch
 multiple documents, you should quote the URL and you can use '#' followed by a
index 343931085b5207eb033d5f1ccfcb03e802282484..95c8afc42cffb0aa6c8b81d5ca033349a108cba1 100644 (file)
@@ -2,6 +2,7 @@ Long: parallel-immediate
 Help: Do not wait for multiplexing (with --parallel)
 Added: 7.68.0
 See-also: parallel parallel-max
+Category: connection curl
 ---
 When doing parallel transfers, this option will instruct curl that it should
 rather prefer opening up more connections in parallel at once rather than
index a8c79c743353c4255627db19285a7a8f612908d4..d49aeb7a9d9b0be84fc3f7fbe129459fcfca428d 100644 (file)
@@ -2,6 +2,7 @@ Long: parallel-max
 Help: Maximum concurrency for parallel transfers
 Added: 7.66.0
 See-also: parallel
+Category: connection curl
 ---
 When asked to do parallel transfers, using --parallel, this option controls
 the maximum amount of transfers to do simultaneously.
index fac84e6243881901201e490b9749987feae89fc6..d6b4affe3763a371bd4fa36a20a2cad784c9619e 100644 (file)
@@ -2,6 +2,7 @@ Short: Z
 Long: parallel
 Help: Perform transfers in parallel
 Added: 7.66.0
+Category: connection curl
 ---
 Makes curl perform its transfers in parallel as compared to the regular serial
 manner.
index 2639cb9d062aba5154b48fe51b78b5fb481573eb..f6633d242c219a5c7c8b33538e53ec884c8cdaf8 100644 (file)
@@ -2,6 +2,7 @@ Long: pass
 Arg: <phrase>
 Help: Pass phrase for the private key
 Protocols: SSH TLS
+Category: ssh tls auth
 ---
 Passphrase for the private key
 
index 946e2f07a233fb2f273aefd628e8a5c62743317d..0bfaf6639ba42d07f8edeed302c2a6ed37ab2aab 100644 (file)
@@ -1,6 +1,7 @@
 Long: path-as-is
 Help: Do not squash .. sequences in URL path
 Added: 7.42.0
+Category: curl
 ---
 Tell curl to not handle sequences of /../ or /./ in the given URL
 path. Normally curl will squash or merge them according to standards but with
index cd21911f85b6426650e126409d2e9386cb49cad9..617252c6ce458da0d628dd04e45678247eebf24e 100644 (file)
@@ -2,6 +2,7 @@ Long: pinnedpubkey
 Arg: <hashes>
 Help: FILE/HASHES Public key to verify peer against
 Protocols: TLS
+Category: tls
 ---
 Tells curl to use the specified public key file (or hashes) to verify the
 peer. This can be a path to a file which contains a single public key in PEM
index 87a9fe7edc9c2b949bd0d4f04079e0bba5fde7eb..9cc2ad0183587671c76950315d0130c266ee7bde 100644 (file)
@@ -3,6 +3,7 @@ Help: Do not switch to GET after following a 301
 Protocols: HTTP
 See-also: post302 post303 location
 Added: 7.17.1
+Category: http post
 ---
 Tells curl to respect RFC 7231/6.4.2 and not convert POST requests into GET
 requests when following a 301 redirection. The non-RFC behaviour is ubiquitous
index caf0d87f18008a381840f7ba994eabc47d2a1ce6..02749032f03ae7416b34fe903262ad61bdd38a5f 100644 (file)
@@ -3,6 +3,7 @@ Help: Do not switch to GET after following a 302
 Protocols: HTTP
 See-also: post301 post303 location
 Added: 7.19.1
+Category: http post
 ---
 Tells curl to respect RFC 7231/6.4.3 and not convert POST requests into GET
 requests when following a 302 redirection. The non-RFC behaviour is ubiquitous
index 44f39e6104da072d568b5aba74d7896b6db3a8f8..1a67e13efd284080c1d2fcbb00d5a8509c111778 100644 (file)
@@ -3,6 +3,7 @@ Help: Do not switch to GET after following a 303
 Protocols: HTTP
 See-also: post302 post301 location
 Added: 7.26.0
+Category: http post
 ---
 Tells curl to violate RFC 7231/6.4.4 and not convert POST requests into GET
 requests when following 303 redirections. A server may require a POST to
index b8eb77fa4f53889e5328680389e6383c71a1fbe3..a917c16ed8874c2e2a9bb9568e7057762a05de51 100644 (file)
@@ -2,6 +2,7 @@ Long: preproxy
 Arg: [protocol://]host[:port]
 Help: Use this proxy first
 Added: 7.52.0
+Category: proxy
 ---
 Use the specified SOCKS proxy before connecting to an HTTP or HTTPS --proxy. In
 such a case curl first connects to the SOCKS proxy and then connects (through
index f27de2d930966779df69d0194d9f692af25a6bf3..299d5384a42cf489cc4f5a1118be2efaf72fc6ae 100644 (file)
@@ -1,6 +1,7 @@
 Short: #
 Long: progress-bar
 Help: Display transfer progress as a bar
+Category: verbose
 ---
 Make curl display transfer progress as a simple progress bar instead of the
 standard, more informational, meter.
index ccc3b85f38eacfcbbeab46b0a31fdab50a08957c..1c2afea2c91be050f420f1790c97b412d545c286 100644 (file)
@@ -2,6 +2,7 @@ Long: proto-default
 Help: Use PROTOCOL for any URL missing a scheme
 Arg: <protocol>
 Added: 7.45.0
+Category: connection curl
 ---
 Tells curl to use \fIprotocol\fP for any URL missing a scheme name.
 
index a1205dd0360dbcb49f51c10b49a2ddc817736455..9a096f5319223fc7ba504046ca6fd90fd5f78114 100644 (file)
@@ -2,6 +2,7 @@ Long: proto-redir
 Arg: <protocols>
 Help: Enable/disable PROTOCOLS on redirect
 Added: 7.20.2
+Category: connection curl
 ---
 Tells curl to limit what protocols it may use on redirect. Protocols denied by
 --proto are not overridden by this option. See --proto for how protocols are
index e1ece1788fd19eea8a8fd83ec2a9e2aa8fe4fd4b..46c912254311d06dc988303f8362b7ef7d4b39e1 100644 (file)
@@ -3,6 +3,7 @@ Arg: <protocols>
 Help: Enable/disable PROTOCOLS
 See-also: proto-redir proto-default
 Added: 7.20.2
+Category: connection curl
 ---
 Tells curl to limit what protocols it may use in the transfer. Protocols are
 evaluated left to right, are comma separated, and are each a protocol name or
index b60d0a05e6a573ae8dd0f1cad1f4ca5d9d15ac34..6410c0e6acaaf640bc7ba49a6306299e09f404a8 100644 (file)
@@ -2,6 +2,7 @@ Long: proxy-anyauth
 Help: Pick any proxy authentication method
 Added: 7.13.2
 See-also: proxy proxy-basic proxy-digest
+Category: proxy auth
 ---
 Tells curl to pick a suitable authentication method when communicating with
 the given HTTP proxy. This might cause an extra request/response round-trip.
index 566f890a97483339fe106c91c0ff8dd69e653649..e842f9900107e82fdc8894c9003522143de0c0c8 100644 (file)
@@ -1,6 +1,7 @@
 Long: proxy-basic
 Help: Use Basic authentication on the proxy
 See-also: proxy proxy-anyauth proxy-digest
+Category: proxy auth
 ---
 Tells curl to use HTTP Basic authentication when communicating with the given
 proxy. Use --basic for enabling HTTP Basic with a remote host. Basic is the
index 2713dd2a4c4a2ceacf875b512a9f18f67a2f2cb2..bbc731a28f75a43e1033c7ecdab6c2d821adbba9 100644 (file)
@@ -3,5 +3,6 @@ Help: CA certificate to verify peer against for proxy
 Arg: <file>
 Added: 7.52.0
 See-also: proxy-capath cacert capath proxy
+Category: proxy tls
 ---
 Same as --cacert but used in HTTPS proxy context.
index 177246aabc387eb0cf50a433035adbfe30a9b9c4..cc342b755e8e0952a58655bdcbed990384257d6c 100644 (file)
@@ -3,5 +3,6 @@ Help: CA directory to verify peer against for proxy
 Arg: <dir>
 Added: 7.52.0
 See-also: proxy-cacert proxy capath
+Category: proxy tls
 ---
 Same as --capath but used in HTTPS proxy context.
index 906d2a1153c523142be15bf8ed44f78fbabd565a..fb7596c178a0ff8b1fa4181595a1c15cf6ddb701 100644 (file)
@@ -2,5 +2,6 @@ Long: proxy-cert-type
 Arg: <type>
 Added: 7.52.0
 Help: Client certificate type for HTTPS proxy
+Category: proxy tls
 ---
 Same as --cert-type but used in HTTPS proxy context.
index 43acd3950908a3fe924af5ad5942dec5c8103c41..7df2712f32d16c34234b2b0e7feca183c3286c28 100644 (file)
@@ -2,5 +2,6 @@ Long: proxy-cert
 Arg: <cert[:passwd]>
 Help: Set client certificate for proxy
 Added: 7.52.0
+Category: proxy tls
 ---
 Same as --cert but used in HTTPS proxy context.
index dcac81284584645a0cbd1fcf6cca3cc98010f14e..366555673110b6110aae5a1485e64bb50b86890f 100644 (file)
@@ -2,5 +2,6 @@ Long: proxy-ciphers
 Arg: <list>
 Help: SSL ciphers to use for proxy
 Added: 7.52.0
+Category: proxy tls
 ---
 Same as --ciphers but used in HTTPS proxy context.
index 1d6247f479e278c8db3628a9dc1232c9889ec4e9..580dc50ce04911d937cab8df193a7cde6c09f780 100644 (file)
@@ -2,5 +2,6 @@ Long: proxy-crlfile
 Arg: <file>
 Help: Set a CRL list for proxy
 Added: 7.52.0
+Category: proxy tls
 ---
 Same as --crlfile but used in HTTPS proxy context.
index ccf46636c234e56bf04b79a18675cd783ccc9a63..52f1fcc67d0917dcd46ed3557df664f54263079e 100644 (file)
@@ -1,6 +1,7 @@
 Long: proxy-digest
 Help: Use Digest authentication on the proxy
 See-also: proxy proxy-anyauth proxy-basic
+Category: proxy tls
 ---
 Tells curl to use HTTP Digest authentication when communicating with the given
 proxy. Use --digest for enabling HTTP Digest with a remote host.
index c1b0bb7c448fecce2932b2c54c46e1a78743283e..9f1121d2f16bea2333a5c184e60b039fc59343a8 100644 (file)
@@ -3,6 +3,7 @@ Arg: <header/@file>
 Help: Pass custom header(s) to proxy
 Protocols: HTTP
 Added: 7.37.0
+Category: proxy
 ---
 Extra header to include in the request when sending HTTP to a proxy. You may
 specify any number of extra headers. This is the equivalent option to --header
index 762828f43fdbb2fbe9515cd3905dc916633310c2..e123f40192f7247381c3c04b0b141c1873df829b 100644 (file)
@@ -1,5 +1,6 @@
 Long: proxy-insecure
 Help: Do HTTPS proxy connections without verifying the proxy
 Added: 7.52.0
+Category: proxy tls
 ---
 Same as --insecure but used in HTTPS proxy context.
index ce7482ae941c27815c822e533462746f8a13d536..1906872ef658458d12a7086fd8bb8bf371b503e2 100644 (file)
@@ -2,5 +2,6 @@ Long: proxy-key-type
 Arg: <type>
 Help: Private key file type for proxy
 Added: 7.52.0
+Category: proxy tls
 ---
 Same as --key-type but used in HTTPS proxy context.
index e61eb18a99ab5a3059cadd3cdd0bc5d145ddd128..57d469f435cf832d63ac260e0a3e309b307198d4 100644 (file)
@@ -1,5 +1,6 @@
 Long: proxy-key
 Help: Private key for HTTPS proxy
 Arg: <key>
+Category: proxy tls
 ---
 Same as --key but used in HTTPS proxy context.
index 775f62a9a3a0bd32deba4a16f69336f0b6913b80..72f35960e98bd78ace46249e72d0f234ad8292af 100644 (file)
@@ -2,6 +2,7 @@ Long: proxy-negotiate
 Help: Use HTTP Negotiate (SPNEGO) authentication on the proxy
 Added: 7.17.1
 See-also: proxy-anyauth proxy-basic
+Category: proxy auth
 ---
 Tells curl to use HTTP Negotiate (SPNEGO) authentication when communicating
 with the given proxy. Use --negotiate for enabling HTTP Negotiate (SPNEGO)
index c30db53b9b48d471c4644723739f8264ae62f70f..cb1ba7b00ee83df52433e11ef987e9c56467e802 100644 (file)
@@ -1,6 +1,7 @@
 Long: proxy-ntlm
 Help: Use NTLM authentication on the proxy
 See-also: proxy-negotiate proxy-anyauth
+Category: proxy auth
 ---
 Tells curl to use HTTP NTLM authentication when communicating with the given
 proxy. Use --ntlm for enabling NTLM with a remote host.
index 3371714ba0e1054a70f0e8e3d6b8ba221fc774ee..627451bbbe1fac64c679b4695b5bf2fc301b06a6 100644 (file)
@@ -2,5 +2,6 @@ Long: proxy-pass
 Arg: <phrase>
 Help: Pass phrase for the private key for HTTPS proxy
 Added: 7.52.0
+Category: proxy tls auth
 ---
 Same as --pass but used in HTTPS proxy context.
index abd6dc4aaffd98c7cd93f37f31206b4147db0361..2ab79f19e82897609737598f6a3e36137e795404 100644 (file)
@@ -2,6 +2,7 @@ Long: proxy-pinnedpubkey
 Arg: <hashes>
 Help: FILE/HASHES public key to verify proxy with
 Protocols: TLS
+Category: proxy tls
 ---
 Tells curl to use the specified public key file (or hashes) to verify the
 proxy. This can be a path to a file which contains a single public key in PEM
index 9a73f2be6246835ced6d0ef449eb4e989d485283..f78072906e4f3b74f8c67ace90523d2229fac103 100644 (file)
@@ -2,5 +2,6 @@ Long: proxy-service-name
 Arg: <name>
 Help: SPNEGO proxy service name
 Added: 7.43.0
+Category: proxy tls
 ---
 This option allows you to change the service name for proxy negotiation.
index de96b8436de9298e09135b58bb13ec9237875756..138001b36ba5e7987040ca3f4abdc8768da35eb5 100644 (file)
@@ -1,5 +1,6 @@
 Long: proxy-ssl-allow-beast
 Help: Allow security flaw for interop for HTTPS proxy
 Added: 7.52.0
+Category: proxy tls
 ---
 Same as --ssl-allow-beast but used in HTTPS proxy context.
index 08961b72e45e157d26869aa7a9841598d4615576..19add22606d531493e1b15cab94cfca8d1c35600 100644 (file)
@@ -2,6 +2,7 @@ Long: proxy-tls13-ciphers
 Arg: <ciphersuite list>
 help: TLS 1.3 proxy cipher suites
 Protocols: TLS
+Category: proxy tls
 ---
 Specifies which cipher suites to use in the connection to your HTTPS proxy
 when it negotiates TLS 1.3. The list of ciphers suites must specify valid
index 7d0ce8e1a7cfbbfcbcc6e2ffdb411b943be701c2..5649a0f5f97510becdf8eab8f16dfbe1e21750d1 100644 (file)
@@ -2,5 +2,6 @@ Long: proxy-tlsauthtype
 Arg: <type>
 Help: TLS authentication type for HTTPS proxy
 Added: 7.52.0
+Category: proxy tls auth
 ---
 Same as --tlsauthtype but used in HTTPS proxy context.
index cf003844e0e78f95e8972f66d274c6333236279b..38a33d45d4ca50ea3d1b00054616588b7548c358 100644 (file)
@@ -2,5 +2,6 @@ Long: proxy-tlspassword
 Arg: <string>
 Help: TLS password for HTTPS proxy
 Added: 7.52.0
+Category: proxy tls auth
 ---
 Same as --tlspassword but used in HTTPS proxy context.
index 758a7c953ab5b026ee6e76ae7883b14daadab570..587f7f510686722b5b79c07d4eacd5a49aa4cf04 100644 (file)
@@ -2,5 +2,6 @@ Long: proxy-tlsuser
 Arg: <name>
 Help: TLS username for HTTPS proxy
 Added: 7.52.0
+Category: proxy tls auth
 ---
 Same as --tlsuser but used in HTTPS proxy context.
index d024eeac36dc50346cb0f8a8b445a35171cb3560..5003f5f707b2f9d679c4e9db837c524972264266 100644 (file)
@@ -1,5 +1,6 @@
 Long: proxy-tlsv1
 Help: Use TLSv1 for HTTPS proxy
 Added: 7.52.0
+Category: proxy tls auth
 ---
 Same as --tlsv1 but used in HTTPS proxy context.
index 152466daaa64776150efb07292cb8d39157b5a4b..82fc5170f4e7dd98bf1cb20c3d7b0ac3a8e7025d 100644 (file)
@@ -2,6 +2,7 @@ Long: proxy-user
 Short: U
 Arg: <user:password>
 Help: Proxy user and password
+Category: proxy auth
 ---
 Specify the user name and password to use for proxy authentication.
 
index 6506692be8844b614559836d150571be907c877a..0592f13ba529caf0a9b8ec7bf034fa230deb92c9 100644 (file)
@@ -2,6 +2,7 @@ Long: proxy
 Short: x
 Arg: [protocol://]host[:port]
 Help: Use this proxy
+Category: proxy
 ---
 Use the specified proxy.
 
index 4a931bd15bfa95a2349aeec3718948f207ff7a26..b8a232bf74c1b16ad37346d08557a1739f67ffbc 100644 (file)
@@ -1,6 +1,7 @@
 Long: proxy1.0
 Arg: <host[:port]>
 Help: Use HTTP/1.0 proxy on given port
+Category: proxy
 ---
 Use the specified HTTP 1.0 proxy. If the port number is not specified, it is
 assumed at port 1080.
index 1f587f120959543b79067c9ae78f8bef3679fa25..94dae992f02cfee3903fd9356d68654b48d4cadb 100644 (file)
@@ -2,6 +2,7 @@ Long: proxytunnel
 Short: p
 Help: Operate through an HTTP proxy tunnel (using CONNECT)
 See-also: proxy
+Category: proxy
 ---
 When an HTTP proxy is used --proxy, this option will make curl tunnel through
 the proxy. The tunnel approach is made with the HTTP proxy CONNECT request and
index b2e11c024bc408fa04d01e9df2562f7cceea5089..692daf6b0703a3983d26e03bc0a5a72d2fd32114 100644 (file)
@@ -2,6 +2,7 @@ Long: pubkey
 Arg: <key>
 Protocols: SFTP SCP
 Help: SSH Public key file name
+Category: sftp scp auth
 ---
 Public key file name. Allows you to provide your public key in this separate
 file.
index 3da34f48791cc170e1e9eec846fbeb905bf8fe13..a33ed3571d6e18ecd76f977e3a5af4978910496f 100644 (file)
@@ -2,6 +2,7 @@ Long: quote
 Short: Q
 Help: Send command(s) to server before transfer
 Protocols: FTP SFTP
+Category: ftp sftp
 ---
 
 Send an arbitrary command to the remote FTP or SFTP server. Quote commands are
index 51626f88dc08a5fe973dfe5a53f5fd14743807b4..c57f52364e549cd187fb334a855c05a18b8c6989 100644 (file)
@@ -1,6 +1,7 @@
 Long: random-file
 Arg: <file>
 Help: File for reading random data from
+Category: misc
 ---
 Specify the path name to file containing what will be considered as random
 data. The data may be used to seed the random engine for SSL connections.  See
index b888dd1814fe5b6eefb97d22e37a60ed524feb44..17c6c2aba58c6e704e9e049ea442bd2360653e82 100644 (file)
@@ -3,6 +3,7 @@ Short: r
 Help: Retrieve only the bytes within RANGE
 Arg: <range>
 Protocols: HTTP FTP SFTP FILE
+Category: http ftp sftp file
 ---
 Retrieve a byte range (i.e. a partial document) from an HTTP/1.1, FTP or SFTP
 server or a local FILE. Ranges can be specified in a number of ways.
index c3328e69a1a22c9230ab6b4c696c216f7469706c..90e777263bd7fe7ed2f95c3e60b515fd7777ad9e 100644 (file)
@@ -2,6 +2,7 @@ Long: raw
 Help: Do HTTP "raw"; no transfer decoding
 Added: 7.16.2
 Protocols: HTTP
+Category: http
 ---
 When used, it disables all internal HTTP decoding of content or transfer
 encodings and instead makes them passed on unaltered, raw.
index cd84e9d5a027df20f39a854072a0200b3846771d..8b2057b9400b6aa0780a38f7a0618943f4d468de 100644 (file)
@@ -4,6 +4,7 @@ Arg: <URL>
 Protocols: HTTP
 Help: Referrer URL
 See-also: user-agent header
+Category: http
 ---
 Sends the "Referrer Page" information to the HTTP server. This can also be set
 with the --header flag of course.  When used with --location you can append
index 771b6d46996ddb0b830cc31c7e8678b9be247057..700da69fc0ebb71560117ad0ea6341eaff380aba 100644 (file)
@@ -2,6 +2,7 @@ Long: remote-header-name
 Short: J
 Protocols: HTTP
 Help: Use the header-provided filename
+Category: output
 ---
 This option tells the --remote-name option to use the server-specified
 Content-Disposition filename instead of extracting a filename from the URL.
index f7a1996793bd8bd42559ae8c1e2a9ab486a0eee3..299684c51d93fe6a101af8e14d7c91a63938f58d 100644 (file)
@@ -1,6 +1,7 @@
 Long: remote-name-all
 Help: Use the remote file name for all URLs
 Added: 7.19.0
+Category: output
 ---
 This option changes the default action for all given URLs to be dealt with as
 if --remote-name were used for each one. So if you want to disable that for a
index 9fed64bf4fe8d26fa102703c4ec82219b73e75af..184c32e4769e1d26297ca4d5db77a14ab562ff37 100644 (file)
@@ -1,6 +1,7 @@
 Long: remote-name
 Short: O
 Help: Write output to a file named as the remote file
+Category: important output
 ---
 Write output to a local file named like the remote file we get. (Only the file
 part of the remote file is used, the path is cut off.)
index 7f6809dc35e2b1240d1ea393c9a08e5598130949..96fb4fbe99837b0784771e7696b68c644f846b4e 100644 (file)
@@ -1,6 +1,7 @@
 Long: remote-time
 Short: R
 Help: Set the remote file's time on the local output
+Category: output
 ---
 When used, this will make curl attempt to figure out the timestamp of the
 remote file, and if that is available make the local file get that same
index b46b4af02e934eda121e8dbdfde61ae00e7e84dd..df423f87d7f2ad0ed79bd927ced1da105d38fcd1 100644 (file)
@@ -2,6 +2,7 @@ Long: request-target
 Help: Specify the target for this request
 Protocols: HTTP
 Added: 7.55.0
+Category: http
 ---
 Tells curl to use an alternative "target" (path) instead of using the path as
 provided in the URL. Particularly useful when wanting to issue HTTP requests
index 3919d426a5120c7704ce12c7a9074595474e5102..47c4c8b049afa3e807a336eb163afc6e7636cc4d 100644 (file)
@@ -2,6 +2,7 @@ Long: request
 Short: X
 Arg: <command>
 Help: Specify request command to use
+Category: connection
 ---
 (HTTP) Specifies a custom request method to use when communicating with the
 HTTP server.  The specified request method will be used instead of the method
index c1692f0f86572e1d09850c058e08a6c7c79c5ff3..41f6a1bd57496c248fdc9c5d4d485ba807f996af 100644 (file)
@@ -2,6 +2,7 @@ Long: resolve
 Arg: <host:port:addr[,addr]...>
 Help: Resolve the host+port to this address
 Added: 7.21.3
+Category: connection
 ---
 Provide a custom address for a specific host and port pair. Using this, you
 can make the curl requests(s) use a specified address and prevent the
index 4554f593805897f5d8f01df3459a9bd4c588c0d2..6bda52b6e103b63b7433176de526f53f5dd9241e 100644 (file)
@@ -1,6 +1,7 @@
 Long: retry-all-errors
 Help: Retry all errors (use with --retry)
 Added: 7.71.0
+Category: curl
 ---
 Retry on any error. This option is used together with --retry.
 
index 6a78e1fdaa59c65efebca6a2e9804fad706d5123..be34f973d5ca13e6cecbec94ad67ce9f31377b87 100644 (file)
@@ -1,6 +1,7 @@
 Long: retry-connrefused
 Help: Retry on connection refused (use with --retry)
 Added: 7.52.0
+Category: curl
 ---
 In addition to the other conditions, consider ECONNREFUSED as a transient
 error too for --retry. This option is used together with --retry.
index 1691356d4c0b3cb34d8351ef2e4638fc0ed9170e..5645c0e6a56545dbcd126834e08f9906021c1cd6 100644 (file)
@@ -2,6 +2,7 @@ Long: retry-delay
 Arg: <seconds>
 Help: Wait time between retries
 Added: 7.12.3
+Category: curl
 ---
 Make curl sleep this amount of time before each retry when a transfer has
 failed with a transient error (it changes the default backoff time algorithm
index 0920c92446516028a1d7b2e57792eb7786ac63e1..9d6faf3041fff58ab8f3613e45cfbc5b9770e91f 100644 (file)
@@ -2,6 +2,7 @@ Long: retry-max-time
 Arg: <seconds>
 Help: Retry only within this period
 Added: 7.12.3
+Category: curl
 ---
 The retry timer is reset before the first transfer attempt. Retries will be
 done as usual (see --retry) as long as the timer hasn't reached this given
index 3db89b71c033ebe62b180b0c6241dc14fecd2a04..70f6e7bfd4d904a1fcae39d3b5c8aeef81cef064 100644 (file)
@@ -2,6 +2,7 @@ Long: retry
 Arg: <num>
 Added: 7.12.3
 Help: Retry request if transient problems occur
+Category: curl
 ---
 If a transient error is returned when curl tries to perform a transfer, it
 will retry this number of times before giving up. Setting the number to 0
index a3bd46e708f7edb147f7e1d440eda71cc0ded7a1..e802c80a16dfbc9aa7f5be4d332abe119a5e1a26 100644 (file)
@@ -2,6 +2,7 @@ Long: sasl-authzid
 Arg: <identity>
 Help: Identity for SASL PLAIN authentication
 Added: 7.66.0
+Category: auth
 ---
 Use this authorisation identity (authzid), during SASL PLAIN authentication,
 in addition to the authentication identity (authcid) as specified by --user.
index c0dab946357538ab624875c52b2839fba6ee7aee..0041c3b4e7797a3c64dc4b3372b1b82a6ba8640b 100644 (file)
@@ -1,5 +1,6 @@
 Long: sasl-ir
 Help: Enable initial response in SASL authentication
 Added: 7.31.0
+Category: auth
 ---
 Enable initial response in SASL authentication.
index 4dfeb27d65d5f16b5968f5712a30919a5359be29..c64496b85856e9edde8d1e078f23f83cfdd98ba9 100644 (file)
@@ -2,6 +2,7 @@ Long: service-name
 Help: SPNEGO service name
 Arg: <name>
 Added: 7.43.0
+Category: misc
 ---
 This option allows you to change the service name for SPNEGO.
 
index 0dbf99d4024443991ba96bce8f95e75737a94769..2124409e5669c4b6a6daafe65217a9bc60eac5b3 100644 (file)
@@ -2,5 +2,6 @@ Long: show-error
 Short: S
 Help: Show error even when -s is used
 See-also: no-progress-meter
+Category: curl
 ---
 When used with --silent, it makes curl show an error message if it fails.
index 065d8ec4ebf16abe40dba75a8e689ea03e9e22c5..58a522335efc62396310463a349d8e25fe88fe4f 100644 (file)
@@ -2,6 +2,7 @@ Long: silent
 Short: s
 Help: Silent mode
 See-also: verbose stderr no-progress-meter
+Category: important verbose
 ---
 Silent or quiet mode. Don't show progress meter or error messages.  Makes Curl
 mute. It will still output the data you ask for, potentially even to the
index 11f6ae033e954d55d939d447c485fb4423061351..bc095d5460b5e1f0ee3162f4da4600eb1b11cc87 100644 (file)
@@ -2,6 +2,7 @@ Long: socks4
 Arg: <host[:port]>
 Help: SOCKS4 proxy on given host + port
 Added: 7.15.2
+Category: proxy
 ---
 Use the specified SOCKS4 proxy. If the port number is not specified, it is
 assumed at port 1080.
index ae254ae0e82c9b53ee3c23abf5adb4be71626b70..d3177a9d77540f23f215c223d140d0a72e670786 100644 (file)
@@ -2,6 +2,7 @@ Long: socks4a
 Arg: <host[:port]>
 Help: SOCKS4a proxy on given host + port
 Added: 7.18.0
+Category: proxy
 ---
 Use the specified SOCKS4a proxy. If the port number is not specified, it is
 assumed at port 1080.
index 67d16b3a66b7583e3c8ba258384201caf7275572..52d1e66194e77199e42833a9df645a9000fc32c5 100644 (file)
@@ -1,6 +1,7 @@
 Long: socks5-basic
 Help: Enable username/password auth for SOCKS5 proxies
 Added: 7.55.0
+Category: proxy auth
 ---
 Tells curl to use username/password authentication when connecting to a SOCKS5
 proxy.  The username/password authentication is enabled by default.  Use
index 477e218e399ad3f6953d7521274561f0baa28c4c..b538f33f362c43e8bed69bf00cad3fa7c03a620a 100644 (file)
@@ -1,6 +1,7 @@
 Long: socks5-gssapi-nec
 Help: Compatibility with NEC SOCKS5 server
 Added: 7.19.4
+Category: proxy auth
 ---
 As part of the GSS-API negotiation a protection mode is negotiated. RFC 1961
 says in section 4.3/4.4 it should be protected, but the NEC reference
index eb3b2407b334e1d50ee82cef904eb159387cbbf1..e61d0f5ab31f0ffd51f49bfde7576b57bf4ce0d8 100644 (file)
@@ -2,6 +2,7 @@ Long: socks5-gssapi-service
 Arg: <name>
 Help: SOCKS5 proxy service name for GSS-API
 Added: 7.19.4
+Category: proxy auth
 ---
 The default service name for a socks server is rcmd/server-fqdn. This option
 allows you to change it.
index 0070f37eb237e8be5bf9d6ad340f10a44ca71993..72ae7aeb2b7e116f3b09b50158b3050fe501f77c 100644 (file)
@@ -1,6 +1,7 @@
 Long: socks5-gssapi
 Help: Enable GSS-API auth for SOCKS5 proxies
 Added: 7.55.0
+Category: proxy auth
 ---
 Tells curl to use GSS-API authentication when connecting to a SOCKS5 proxy.
 The GSS-API authentication is enabled by default (if curl is compiled with
index 9d9d946e5747b23d4d8882a9a3feb2df4f8c5b0d..247d7660e7f950e7a9b6d26d25243d86105a9229 100644 (file)
@@ -2,6 +2,7 @@ Long: socks5-hostname
 Arg: <host[:port]>
 Help: SOCKS5 proxy, pass host name to proxy
 Added: 7.18.0
+Category: proxy
 ---
 Use the specified SOCKS5 proxy (and let the proxy resolve the host name). If
 the port number is not specified, it is assumed at port 1080.
index 22fae76295c994407370c80498c8a6e6ac3ec037..bbe92f0a10431f1c50e27a825e2516e74bf5c6a6 100644 (file)
@@ -2,6 +2,7 @@ Long: socks5
 Arg: <host[:port]>
 Help: SOCKS5 proxy on given host + port
 Added: 7.18.0
+Category: proxy
 ---
 Use the specified SOCKS5 proxy - but resolve the host name locally. If the
 port number is not specified, it is assumed at port 1080.
index e2b81c79a334728998a60c3cf747a74dddaaf53f..3f9ad3a46e6f4eb430ef0f619a664dc0f603763e 100644 (file)
@@ -2,6 +2,7 @@ Long: speed-limit
 Short: Y
 Arg: <speed>
 Help: Stop transfers slower than this
+Category: connection
 ---
 If a download is slower than this given speed (in bytes per second) for
 speed-time seconds it gets aborted. speed-time is set with --speed-time and is
index 98d6ae13c5fc3a49078dc445ff42e4db4048ca5c..81acabec46a0b95c0b3803f3d38bb9668fbad9bf 100644 (file)
@@ -2,6 +2,7 @@ Long: speed-time
 Short: y
 Arg: <seconds>
 Help: Trigger 'speed-limit' abort after this time
+Category: connection
 ---
 If a download is slower than speed-limit bytes per second during a speed-time
 period, the download gets aborted. If speed-time is used, the default
index 973fcd4518828e97f0bbef16a4e9c33366422443..f18fe74704878ad73e108b66279e8d6fb51c8978 100644 (file)
@@ -1,6 +1,7 @@
 Long: ssl-allow-beast
 Help: Allow security flaw to improve interop
 Added: 7.25.0
+Category: tls
 ---
 This option tells curl to not work around a security flaw in the SSL3 and
 TLS1.0 protocols known as BEAST.  If this option isn't used, the SSL layer may
index f94b111436f5e3267d6e082890b2f4eccd51d0f8..3b1614243e24c4a72b09378a6afce9a681ed4d5d 100644 (file)
@@ -1,6 +1,7 @@
 Long: ssl-no-revoke
 Help: Disable cert revocation checks (Schannel)
 Added: 7.44.0
+Category: tls
 ---
 (Schannel) This option tells curl to disable certificate revocation checks.
 WARNING: this option loosens the SSL security, and by using this flag you ask
index 3c6f8a257b9dd192128af91e95fdc32a0d861e8b..2e573e39d1220a4ddfe2f2d53889325a56468516 100644 (file)
@@ -2,6 +2,7 @@ Long: ssl-reqd
 Help: Require SSL/TLS
 Protocols: FTP IMAP POP3 SMTP
 Added: 7.20.0
+Category: tls
 ---
 Require SSL/TLS for the connection.  Terminates the connection if the server
 doesn't support SSL/TLS.
index e339b8af0508a71326abb0590d0536f5ea2589c1..af22da46115dac3652a49f8d2446089486d2213c 100644 (file)
@@ -1,6 +1,7 @@
 Long: ssl-revoke-best-effort
 Help: Ignore missing/offline cert CRL dist points
 Added: 7.70.0
+Category: tls
 ---
 (Schannel) This option tells curl to ignore certificate revocation checks when
 they failed due to missing/offline distribution points for the revocation check
index dabd83761f94672a68c14442a96e77d959adb2e9..8df460106b2c22a708c251e83cf6e8619214dde2 100644 (file)
@@ -2,6 +2,7 @@ Long: ssl
 Help: Try SSL/TLS
 Protocols: FTP IMAP POP3 SMTP
 Added: 7.20.0
+Category: tls
 ---
 
 Try to use SSL/TLS for the connection.  Reverts to a non-secure connection if
index 67d2b8506536c9fbfdfa96532b298fb038fddf7f..773ab691ef70ea455ff99c7c87c4bebaf67aa16c 100644 (file)
@@ -7,6 +7,7 @@ Mutexed: sslv3 tlsv1 tlsv1.1 tlsv1.2
 Requires: TLS
 See-also: http1.1 http2
 Help: Use SSLv2
+Category: tls
 ---
 Forces curl to use SSL version 2 when negotiating with a remote SSL
 server. Sometimes curl is built without SSLv2 support. SSLv2 is widely
index 101ad1004710d99b1a8d059c3dc092fddc5c011a..7beed8f81e3eb6a966a17a6e02c57da9ad4e152b 100644 (file)
@@ -7,6 +7,7 @@ Mutexed: sslv2 tlsv1 tlsv1.1 tlsv1.2
 Requires: TLS
 See-also: http1.1 http2
 Help: Use SSLv3
+Category: tls
 ---
 Forces curl to use SSL version 3 when negotiating with a remote SSL
 server. Sometimes curl is built without SSLv3 support. SSLv3 is widely
index e8cf7ba68fc33a6e887c14a02b6a198f9afa1a23..6da0401592c0c09283771f9d8d5ae778469fa72a 100644 (file)
@@ -1,6 +1,7 @@
 Long: stderr
 Help: Where to redirect stderr
 See-also: verbose silent
+Category: verbose
 ---
 Redirect all writes to stderr to the specified file instead. If the file name
 is a plain '-', it is instead written to stdout.
index e4751aecb1c86849057b077d77ddfc8dc3c69130..8aa4a0f05efb82d12fa2e0acabe88a30600d53ad 100644 (file)
@@ -1,6 +1,7 @@
 Long: styled-output
 Help: Enable styled output for HTTP headers
 Added: 7.61.0
+Category: verbose
 ---
 Enables the automatic use of bold font styles when writing HTTP headers to the
 terminal. Use --no-styled-output to switch them off.
index d208b891770513bc42eca6dd9498e8a03f4c8c65..2ab9f3f48ea341062a8b5f73d413cc07dface35d 100644 (file)
@@ -1,6 +1,7 @@
 Long: suppress-connect-headers
 Help: Suppress proxy CONNECT response headers
 See-also: dump-header include proxytunnel
+Category: misc
 ---
 When --proxytunnel is used and a CONNECT request is made don't output proxy
 CONNECT response headers. This option is meant to be used with --dump-header or
index 08e141df783e7e3e62538a3f39487ea8affb5787..faef499f3e5ad7132c00f8219e7367793f72a65a 100644 (file)
@@ -1,5 +1,6 @@
 Long: tcp-fastopen
 Added: 7.49.0
 Help: Use TCP Fast Open
+Category: connection
 ---
 Enable use of TCP Fast Open (RFC7413).
index f047a7c6faaaa12974e7fe5cb415b1f514f2d700..f1cf644a430c28ec48773cc7960a61b71654c81f 100644 (file)
@@ -1,6 +1,7 @@
 Long: tcp-nodelay
 Help: Use the TCP_NODELAY option
 Added: 7.11.2
+Category: connection
 ---
 Turn on the TCP_NODELAY option. See the \fIcurl_easy_setopt(3)\fP man page for
 details about this option.
index a67cb627b85b37b9486440e3bfe49cbc96452f5d..789de3ea1f4d8184fdb1d26d841fdf0f1ef13eda 100644 (file)
@@ -2,6 +2,7 @@ Long: telnet-option
 Short: t
 Arg: <opt=val>
 Help: Set telnet option
+Category: telnet
 ---
 Pass options to the telnet protocol. Supported options are:
 
index c184328de004a20933523f11ac3ba662c90c1905..6e67ed2e11f06e546161ecaa721229503a0d0c7c 100644 (file)
@@ -3,6 +3,7 @@ Arg: <value>
 Help: Set TFTP BLKSIZE option
 Protocols: TFTP
 Added: 7.20.0
+Category: tftp
 ---
 Set TFTP BLKSIZE option (must be >512). This is the block size that curl will
 try to use when transferring data to or from a TFTP server. By default 512
index e2a4dacd5262f488da518de62648e93ebf7811b9..023327301fe8ade4eaf3fe3d31497c2e455fc426 100644 (file)
@@ -2,6 +2,7 @@ Long: tftp-no-options
 Help: Do not send any TFTP options
 Protocols: TFTP
 Added: 7.48.0
+Category: tftp
 ---
 Tells curl not to send TFTP options requests.
 
index 830b4e1a24ce44be73935920b82d4f4b868fd468..f733eeb0bfa770f525cfe3979af47b8bb46d5e84 100644 (file)
@@ -3,6 +3,7 @@ Short: z
 Arg: <time>
 Help: Transfer based on a time condition
 Protocols: HTTP FTP
+Category: http ftp
 ---
 Request a file that has been modified later than the given time and date, or
 one that has been modified before that time. The <date expression> can be all
index 475c12fe81e88d743f9ec25fc40b5f5ad22f6f13..07eb65465de7542324a58679dda9e1d2d25c232a 100644 (file)
@@ -6,6 +6,7 @@ Added: 7.54.0
 Requires: TLS
 See-also: tlsv1.0 tlsv1.1 tlsv1.2 tlsv1.3
 Help: Set maximum allowed TLS version
+Category: tls
 ---
 VERSION defines maximum supported TLS version. The minimum acceptable version
 is set by tlsv1.0, tlsv1.1, tlsv1.2 or tlsv1.3.
index db8033525e6a618709b8132b5f634cd98fdf1855..0f906ce40deab09317e5caf069659cae131e037b 100644 (file)
@@ -2,6 +2,7 @@ Long: tls13-ciphers
 Arg: <ciphersuite list>
 help: TLS 1.3 cipher suites to use
 Protocols: TLS
+Category: tls
 ---
 Specifies which cipher suites to use in the connection if it negotiates TLS
 1.3. The list of ciphers suites must specify valid ciphers. Read up on TLS 1.3
index ede21c2f77de8ac1b4dd318726a2b0947d512652..5b283cf9bdf06495befdcb09a9ff7bdbc9b764b1 100644 (file)
@@ -2,6 +2,7 @@ Long: tlsauthtype
 Arg: <type>
 Help: TLS authentication type
 Added: 7.21.4
+Category: tls auth
 ---
 Set TLS authentication type. Currently, the only supported option is "SRP",
 for TLS-SRP (RFC 5054). If --tlsuser and --tlspassword are specified but
index b2e65362e90fd424d929a0b30d13c3a74e777873..5c6a0fa51ba09d1e47c864df14e437b7b0cc4f35 100644 (file)
@@ -1,6 +1,7 @@
 Long: tlspassword
 Help: TLS password
 Added: 7.21.4
+Category: tls auth
 ---
 Set password for use with the TLS authentication method specified with
 --tlsauthtype. Requires that --tlsuser also be set.
index 7192b9f1d976a5dc4e30030f7c2829d1d6a517f7..ada15260862e3e0208d75379fed89850dd589989 100644 (file)
@@ -2,6 +2,7 @@ Long: tlsuser
 Arg: <name>
 Help: TLS user name
 Added: 7.21.4
+Category: tls auth
 ---
 Set username for use with the TLS authentication method specified with
 --tlsauthtype. Requires that --tlspassword also is set.
index 2b1f0156a33fae4bb5bd06a0401a705bd90dc9a7..4f0176f31cbd53338d9d53fa3d041e6662f07d55 100644 (file)
@@ -2,6 +2,7 @@ Long: tlsv1.0
 Help: Use TLSv1.0 or greater
 Protocols: TLS
 Added: 7.34.0
+Category: tls
 ---
 Forces curl to use TLS version 1.0 or later when connecting to a remote TLS server.
 
index 405d552bb3340b886e28c87a7a627abbedb77125..b3649f7f44d9ec0a8dbb0d67c2a1377aa75a6571 100644 (file)
@@ -2,6 +2,7 @@ Long: tlsv1.1
 Help: Use TLSv1.1 or greater
 Protocols: TLS
 Added: 7.34.0
+Category: tls
 ---
 Forces curl to use TLS version 1.1 or later when connecting to a remote TLS server.
 
index bdf1fcf62c1df446aae0cca31ad6ba1520f5df16..dffbccb9d526bd475d9a90ccf18e45f5544fb9d5 100644 (file)
@@ -2,6 +2,7 @@ Long: tlsv1.2
 Help: Use TLSv1.2 or greater
 Protocols: TLS
 Added: 7.34.0
+Category: tls
 ---
 Forces curl to use TLS version 1.2 or later when connecting to a remote TLS server.
 
index 19da857b78a683922199d65450e0a6355a50f10d..37d953552e9720cab71796e364922f18d2e6ae4b 100644 (file)
@@ -2,6 +2,7 @@ Long: tlsv1.3
 Help: Use TLSv1.3 or greater
 Protocols: TLS
 Added: 7.52.0
+Category: tls
 ---
 Forces curl to use TLS version 1.3 or later when connecting to a remote TLS
 server.
index 4cb40569734477fd2ad66e7f000d19db9de4e4a0..d4c0c51604cb5dfa6f8579441a6f56684d3961bd 100644 (file)
@@ -7,6 +7,7 @@ Mutexed: tlsv1.1 tlsv1.2 tlsv1.3
 Requires: TLS
 See-also: http1.1 http2
 Help: Use TLSv1.0 or greater
+Category: tls
 ---
 Tells curl to use at least TLS version 1.x when negotiating with a remote TLS
 server. That means TLS version 1.0 or higher
index 01bb62bb37f9a8df01df19618bf6fec2ecee4bb9..ce1d003257871f7bee89337c61ff465d827b1c64 100644 (file)
@@ -2,6 +2,7 @@ Long: tr-encoding
 Added: 7.21.6
 Help: Request compressed transfer encoding
 Protocols: HTTP
+Category: http
 ---
 Request a compressed Transfer-Encoding response using one of the algorithms
 curl supports, and uncompress the data while receiving it.
index fceaa7126fb8fd0352d62d49edc911262261041e..fa7e16ccc1fe8bfd180818a2ae0ee6bb68a83875 100644 (file)
@@ -2,6 +2,7 @@ Long: trace-ascii
 Arg: <file>
 Help: Like --trace, but without hex output
 Mutexed: trace verbose
+Category: verbose
 ---
 Enables a full trace dump of all incoming and outgoing data, including
 descriptive information, to the given output file. Use "-" as filename to have
index 27dcc42cf4372b35d965e8c5da39a452008ebae3..19a31a70e17bed193a356cab8ac73ea39b944148 100644 (file)
@@ -1,5 +1,6 @@
 Long: trace-time
 Help: Add time stamps to trace/verbose output
 Added: 7.14.0
+Category: verbose
 ---
 Prepends a time stamp to each trace or verbose line that curl displays.
index 334ea5ad6cd7c61f2da93d8efe9a7ee83483e8e6..502dafd71f65600010f20cc9d11c6aee2a54a48c 100644 (file)
@@ -2,6 +2,7 @@ Long: trace
 Arg: <file>
 Help: Write a debug trace to FILE
 Mutexed: verbose trace-ascii
+Category: verbose
 ---
 Enables a full trace dump of all incoming and outgoing data, including
 descriptive information, to the given output file. Use "-" as filename to have
index 812d20f3b1c59318d5fa9d37faa11fb287e06fa0..e4ea91d01512d1cc294ffa613183a1d597630730 100644 (file)
@@ -3,5 +3,6 @@ Arg: <path>
 Help: Connect through this Unix domain socket
 Added: 7.40.0
 Protocols: HTTP
+Category: connection
 ---
 Connect through this Unix domain socket, instead of using the network.
index 6f01dbf35e0d71972328a391c0bc0112da4ee5e2..63584b7970aa17bcfc54508e4772456a380897a9 100644 (file)
@@ -2,6 +2,7 @@ Long: upload-file
 Short: T
 Arg: <file>
 Help: Transfer local FILE to destination
+Category: important upload
 ---
 This transfers the specified local file to the remote URL. If there is no file
 part in the specified URL, curl will append the local file name. NOTE that you
index 991f1f27ca8782eea7ef0e6ab52325b630995f50..30f0bf72eb5f7b51bdbf36d046b061eecc286e4b 100644 (file)
@@ -1,6 +1,7 @@
 Long: url
 Arg: <url>
 Help: URL to work with
+Category: curl
 ---
 Specify a URL to fetch. This option is mostly handy when you want to specify
 URL(s) in a config file.
index d59fad9225a124ad957baa92d2ab016bfabcd33b..3a5a6a4f811b9e2f107692362ba794b05e81f648 100644 (file)
@@ -2,6 +2,7 @@ Short: B
 Long: use-ascii
 Help: Use ASCII/text transfer
 Protocols: FTP LDAP
+Category: misc
 ---
 Enable ASCII transfer. For FTP, this can also be enforced by using a URL that
 ends with ";type=A". This option causes data sent to stdout to be in text mode
index c6dd2e58495f1ca2310e2b71ef0ea1fa87798d57..ec2ca82bb31b06ea72aae2f40fe560e210f8bd82 100644 (file)
@@ -3,6 +3,7 @@ Long: user-agent
 Arg: <name>
 Help: Send User-Agent <name> to server
 Protocols: HTTP
+Category: important http
 ---
 
 Specify the User-Agent string to send to the HTTP server. To encode blanks in
index 7001d28abc739df0b308c25823ef2335a72a6360..b588700c0b826a2fc89a2f91db31ad12dda1495b 100644 (file)
@@ -2,6 +2,7 @@ Long: user
 Short: u
 Arg: <user:password>
 Help: Server user and password
+Category: important auth
 ---
 Specify the user name and password to use for server authentication. Overrides
 --netrc and --netrc-optional.
index 5d335218377db13712eee4f52a85fd4c7fec25d0..8db1ea222b062d7a8e3f25c9f7d08299b463ad17 100644 (file)
@@ -3,6 +3,7 @@ Long: verbose
 Mutexed: trace trace-ascii
 Help: Make the operation more talkative
 See-also: include
+Category: important verbose
 ---
 Makes curl verbose during the operation. Useful for debugging and seeing
 what's going on "under the hood". A line starting with '>' means "header data"
index 16c1843f15868d22a936f3ba3dba1251881a683b..52c29f177c8f393d899f28dd1307a3aac545f0bc 100644 (file)
@@ -1,6 +1,7 @@
 Long: version
 Short: V
 Help: Show version number and quit
+Category: important curl
 ---
 Displays information about curl and the libcurl version it uses.
 
index 686bda6eab4680cf88e62a449a887d5c4847f958..013319cc2fa75a2ae2c50a1f2a6f5d140c877c5a 100644 (file)
@@ -2,6 +2,7 @@ Long: write-out
 Short: w
 Arg: <format>
 Help: Use output FORMAT after completion
+Category: verbose
 ---
 Make curl display information on stdout after a completed transfer. The format
 is a string that may contain plain text mixed with any number of
index b7553daeb74d4b492ae705530f82585308110e57..4b64c6cbfc5266d0e3602e7c3900319dabb56826 100644 (file)
@@ -1,5 +1,6 @@
 Long: xattr
 Help: Store metadata in extended file attributes
+Category: misc
 ---
 When saving output to a file, this option tells curl to store certain file
 metadata in extended file attributes. Currently, the URL is stored in the