mirror of
https://github.com/curl/curl.git
synced 2025-03-19 15:40:42 +08:00
cmdline-opts: shorter help texts
In an effort to increase the readability of the "--help all" output on narrow (80 column) terminals. Co-authored-by: Jay Satiro Closes #13169
This commit is contained in:
parent
647e86a3ef
commit
fe9f68fa61
@ -3,8 +3,8 @@ c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: aws-sigv4
|
||||
Protocols: HTTP
|
||||
Arg: <provider1[:provider2[:region[:service]]]>
|
||||
Help: Use AWS V4 signature authentication
|
||||
Arg: <provider1[:prvdr2[:reg[:srv]]]>
|
||||
Help: AWS V4 signature auth
|
||||
Category: auth http
|
||||
Added: 7.75.0
|
||||
Multi: single
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: basic
|
||||
Help: Use HTTP Basic Authentication
|
||||
Help: HTTP Basic Authentication
|
||||
Protocols: HTTP
|
||||
Category: auth
|
||||
Added: 7.10.6
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: ca-native
|
||||
Help: Use CA certificates from the native OS
|
||||
Help: Load CA certs from the OS
|
||||
Protocols: TLS
|
||||
Category: tls
|
||||
Added: 8.2.0
|
||||
|
@ -4,7 +4,7 @@ SPDX-License-Identifier: curl
|
||||
Long: cert-status
|
||||
Protocols: TLS
|
||||
Added: 7.41.0
|
||||
Help: Verify the status of the server cert via OCSP-staple
|
||||
Help: Verify server cert status OCSP-staple
|
||||
Category: tls
|
||||
Multi: boolean
|
||||
See-also:
|
||||
|
@ -2,8 +2,8 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: connect-timeout
|
||||
Arg: <fractional seconds>
|
||||
Help: Maximum time allowed for connection
|
||||
Arg: <seconds>
|
||||
Help: Maximum time allowed to connect
|
||||
Category: connection
|
||||
Added: 7.7
|
||||
Multi: single
|
||||
|
@ -5,7 +5,7 @@ Short: c
|
||||
Long: cookie-jar
|
||||
Arg: <filename>
|
||||
Protocols: HTTP
|
||||
Help: Write cookies to <filename> after operation
|
||||
Help: Save cookies to <filename> after operation
|
||||
Category: http
|
||||
Added: 7.9
|
||||
Multi: single
|
||||
|
@ -5,7 +5,7 @@ Short: b
|
||||
Long: cookie
|
||||
Arg: <data|filename>
|
||||
Protocols: HTTP
|
||||
Help: Send cookies from string/file
|
||||
Help: Send cookies from string/load from file
|
||||
Category: http
|
||||
Added: 4.9
|
||||
Multi: append
|
||||
|
@ -4,7 +4,7 @@ SPDX-License-Identifier: curl
|
||||
Long: crlfile
|
||||
Arg: <file>
|
||||
Protocols: TLS
|
||||
Help: Use this CRL list
|
||||
Help: Certificate Revocation list
|
||||
Added: 7.19.7
|
||||
Category: tls
|
||||
Multi: single
|
||||
|
@ -2,8 +2,8 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: curves
|
||||
Arg: <algorithm list>
|
||||
Help: (EC) TLS key exchange algorithm(s) to request
|
||||
Arg: <list>
|
||||
Help: (EC) TLS key exchange algorithms to request
|
||||
Protocols: TLS
|
||||
Added: 7.73.0
|
||||
Category: tls
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: digest
|
||||
Help: Use HTTP Digest Authentication
|
||||
Help: HTTP Digest Authentication
|
||||
Protocols: HTTP
|
||||
Mutexed: basic ntlm negotiate
|
||||
Category: proxy auth http
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: doh-cert-status
|
||||
Help: Verify the status of the DoH server cert via OCSP-staple
|
||||
Help: Verify DoH server cert status OCSP-staple
|
||||
Added: 7.76.0
|
||||
Category: dns tls
|
||||
Multi: boolean
|
||||
@ -15,3 +15,12 @@ Example:
|
||||
# `--doh-cert-status`
|
||||
|
||||
Same as --cert-status but used for DoH (DNS-over-HTTPS).
|
||||
|
||||
Verifies the status of the DoH servers' certificate by using the Certificate
|
||||
Status Request (aka. OCSP stapling) TLS extension.
|
||||
|
||||
If this option is enabled and the DoH server sends an invalid (e.g. expired)
|
||||
response, if the response suggests that the server certificate has been
|
||||
revoked, or no response at all is received, the verification fails.
|
||||
|
||||
This support is currently only implemented in the OpenSSL and GnuTLS backends.
|
||||
|
@ -3,7 +3,7 @@ c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: etag-compare
|
||||
Arg: <file>
|
||||
Help: Pass an ETag from a file as a custom header
|
||||
Help: Load ETag from file
|
||||
Protocols: HTTP
|
||||
Added: 7.68.0
|
||||
Category: http
|
||||
@ -20,10 +20,8 @@ Example:
|
||||
Make a conditional HTTP request for the specific ETag read from the given file
|
||||
by sending a custom If-None-Match header using the stored ETag.
|
||||
|
||||
For correct results, make sure that the specified file contains only a
|
||||
single line with the desired ETag. An empty file is parsed as an empty
|
||||
ETag.
|
||||
For correct results, make sure that the specified file contains only a single
|
||||
line with the desired ETag. An empty file is parsed as an empty ETag.
|
||||
|
||||
Use the option --etag-save to first save the ETag from a response, and
|
||||
then use this option to compare against the saved ETag in a subsequent
|
||||
request.
|
||||
Use the option --etag-save to first save the ETag from a response, and then
|
||||
use this option to compare against the saved ETag in a subsequent request.
|
||||
|
@ -3,7 +3,7 @@ c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: etag-save
|
||||
Arg: <file>
|
||||
Help: Parse ETag from a request and save it to a file
|
||||
Help: Parse incoming ETag and save to a file
|
||||
Protocols: HTTP
|
||||
Added: 7.68.0
|
||||
Category: http
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: fail-early
|
||||
Help: Fail on first transfer error, do not continue
|
||||
Help: Fail on first transfer error
|
||||
Added: 7.52.0
|
||||
Category: curl
|
||||
Multi: boolean
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: form-escape
|
||||
Help: Escape multipart form field/filenames using backslash
|
||||
Help: Escape form fields using backslash
|
||||
Protocols: HTTP
|
||||
Added: 7.81.0
|
||||
Category: http upload
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: ftp-pasv
|
||||
Help: Use PASV/EPSV instead of PORT
|
||||
Help: Send PASV/EPSV instead of PORT
|
||||
Protocols: FTP
|
||||
Added: 7.11.0
|
||||
Category: ftp
|
||||
|
@ -3,7 +3,7 @@ c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: ftp-port
|
||||
Arg: <address>
|
||||
Help: Use PORT instead of PASV
|
||||
Help: Send PORT instead of PASV
|
||||
Short: P
|
||||
Protocols: FTP
|
||||
Category: ftp
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: ftp-ssl-control
|
||||
Help: Require SSL/TLS for FTP login, clear for transfer
|
||||
Help: Require TLS for login, clear for transfer
|
||||
Protocols: FTP
|
||||
Added: 7.16.0
|
||||
Category: ftp tls
|
||||
|
@ -3,7 +3,7 @@ c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: globoff
|
||||
Short: g
|
||||
Help: Disable URL sequences and ranges using {} and []
|
||||
Help: Disable URL globbing with {} and []
|
||||
Category: curl
|
||||
Added: 7.6
|
||||
Multi: boolean
|
||||
|
@ -2,8 +2,8 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: happy-eyeballs-timeout-ms
|
||||
Arg: <milliseconds>
|
||||
Help: Time for IPv6 before trying IPv4
|
||||
Arg: <ms>
|
||||
Help: Time for IPv6 before IPv4
|
||||
Added: 7.59.0
|
||||
Category: connection
|
||||
Multi: single
|
||||
|
@ -2,8 +2,8 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: haproxy-clientip
|
||||
Arg: <IP address>
|
||||
Help: Sets client IP in HAProxy PROXY protocol v1 header
|
||||
Arg: <ip>
|
||||
Help: Set address in HAProxy PROXY
|
||||
Protocols: HTTP
|
||||
Added: 8.2.0
|
||||
Category: http proxy
|
||||
|
@ -3,7 +3,7 @@ c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: hostpubmd5
|
||||
Arg: <md5>
|
||||
Help: Acceptable MD5 hash of the host public key
|
||||
Help: Acceptable MD5 hash of host public key
|
||||
Protocols: SFTP SCP
|
||||
Added: 7.17.1
|
||||
Category: sftp scp
|
||||
|
@ -3,7 +3,7 @@ c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: hostpubsha256
|
||||
Arg: <sha256>
|
||||
Help: Acceptable SHA256 hash of the host public key
|
||||
Help: Acceptable SHA256 hash of host public key
|
||||
Protocols: SFTP SCP
|
||||
Added: 7.80.0
|
||||
Category: sftp scp
|
||||
|
@ -3,7 +3,7 @@ c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: include
|
||||
Short: i
|
||||
Help: Include protocol response headers in the output
|
||||
Help: Include response headers in output
|
||||
Protocols: HTTP FTP
|
||||
Category: important verbose
|
||||
Added: 4.8
|
||||
|
@ -3,7 +3,7 @@ c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: libcurl
|
||||
Arg: <file>
|
||||
Help: Dump libcurl equivalent code of this command line
|
||||
Help: Generate libcurl code for this command line
|
||||
Added: 7.16.1
|
||||
Category: curl
|
||||
Multi: single
|
||||
|
@ -2,8 +2,8 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: local-port
|
||||
Arg: <num/range>
|
||||
Help: Force use of RANGE for local port numbers
|
||||
Arg: <range>
|
||||
Help: Use a local port number within RANGE
|
||||
Added: 7.15.2
|
||||
Category: connection
|
||||
Multi: single
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: location-trusted
|
||||
Help: Like --location, and send auth to other hosts
|
||||
Help: Like --location, but send auth to other hosts
|
||||
Protocols: HTTP
|
||||
Category: http auth
|
||||
Added: 7.10.4
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: mail-rcpt-allowfails
|
||||
Help: Allow RCPT TO command to fail for some recipients
|
||||
Help: Allow RCPT TO command to fail
|
||||
Protocols: SMTP
|
||||
Added: 7.69.0
|
||||
Category: smtp
|
||||
|
@ -3,7 +3,7 @@ c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: max-time
|
||||
Short: m
|
||||
Arg: <fractional seconds>
|
||||
Arg: <seconds>
|
||||
Help: Maximum time allowed for transfer
|
||||
Category: connection
|
||||
Added: 4.0
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: ntlm-wb
|
||||
Help: Use HTTP NTLM authentication with winbind
|
||||
Help: HTTP NTLM authentication with winbind
|
||||
Protocols: HTTP
|
||||
Category: auth http
|
||||
Added: 7.22.0
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: ntlm
|
||||
Help: Use HTTP NTLM authentication
|
||||
Help: HTTP NTLM authentication
|
||||
Mutexed: basic negotiate digest anyauth
|
||||
Protocols: HTTP
|
||||
Requires: TLS
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: post301
|
||||
Help: Do not switch to GET after following a 301
|
||||
Help: Do not switch to GET after a 301 redirect
|
||||
Protocols: HTTP
|
||||
Added: 7.17.1
|
||||
Category: http post
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: post302
|
||||
Help: Do not switch to GET after following a 302
|
||||
Help: Do not switch to GET after a 302 redirect
|
||||
Protocols: HTTP
|
||||
Added: 7.19.1
|
||||
Category: http post
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: post303
|
||||
Help: Do not switch to GET after following a 303
|
||||
Help: Do not switch to GET after a 303 redirect
|
||||
Protocols: HTTP
|
||||
Added: 7.26.0
|
||||
Category: http post
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: proxy-ca-native
|
||||
Help: Use CA certificates from the native OS for proxy
|
||||
Help: Load CA certs from the OS to verify proxy
|
||||
Protocols: TLS
|
||||
Category: tls
|
||||
Added: 8.2.0
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: proxy-cacert
|
||||
Help: CA certificate to verify peer against for proxy
|
||||
Help: CA certificates to verify proxy against
|
||||
Arg: <file>
|
||||
Added: 7.52.0
|
||||
Category: proxy tls
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: proxy-capath
|
||||
Help: CA directory to verify peer against for proxy
|
||||
Help: CA directory to verify proxy against
|
||||
Arg: <dir>
|
||||
Added: 7.52.0
|
||||
Category: proxy tls
|
||||
@ -18,3 +18,13 @@ Example:
|
||||
# `--proxy-capath`
|
||||
|
||||
Same as --capath but used in HTTPS proxy context.
|
||||
|
||||
Use the specified certificate directory to verify the proxy. Multiple paths
|
||||
can be provided by separated with colon (`:`) (e.g. `path1:path2:path3`). The
|
||||
certificates must be in PEM format, and if curl is built against OpenSSL, the
|
||||
directory must have been processed using the c_rehash utility supplied with
|
||||
OpenSSL. Using --proxy-capath can allow OpenSSL-powered curl to make
|
||||
SSL-connections much more efficiently than using --proxy-cacert if the
|
||||
--proxy-cacert file contains many CA certificates.
|
||||
|
||||
If this option is set, the default capath value is ignored.
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: proxy-digest
|
||||
Help: Use Digest authentication on the proxy
|
||||
Help: Digest auth with the proxy
|
||||
Category: proxy tls
|
||||
Added: 7.12.0
|
||||
Multi: mutex
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: proxy-insecure
|
||||
Help: Do HTTPS proxy connections without verifying the proxy
|
||||
Help: Skip HTTPS proxy cert verification
|
||||
Added: 7.52.0
|
||||
Category: proxy tls
|
||||
Multi: boolean
|
||||
@ -16,3 +16,15 @@ Example:
|
||||
# `--proxy-insecure`
|
||||
|
||||
Same as --insecure but used in HTTPS proxy context.
|
||||
|
||||
Every secure connection curl makes is verified to be secure before the
|
||||
transfer takes place. This option makes curl skip the verification step with a
|
||||
proxy and proceed without checking.
|
||||
|
||||
When this option is not used for a proxy using HTTPS, curl verifies the
|
||||
proxy's TLS certificate before it continues: that the certificate contains the
|
||||
right name which matches the hostname and that the certificate has been signed
|
||||
by a CA certificate present in the cert store. See this online resource for
|
||||
further details: **https://curl.se/docs/sslcerts.html**
|
||||
|
||||
**WARNING**: using this option makes the transfer to the proxy insecure.
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: proxy-negotiate
|
||||
Help: Use HTTP Negotiate (SPNEGO) authentication on the proxy
|
||||
Help: HTTP Negotiate (SPNEGO) auth with the proxy
|
||||
Added: 7.17.1
|
||||
Category: proxy auth
|
||||
Multi: mutex
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: proxy-ntlm
|
||||
Help: Use NTLM authentication on the proxy
|
||||
Help: NTLM authentication with the proxy
|
||||
Category: proxy auth
|
||||
Added: 7.10.7
|
||||
Multi: mutex
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: proxy-ssl-auto-client-cert
|
||||
Help: Use auto client certificate for proxy (Schannel)
|
||||
Help: Auto client certificate for proxy
|
||||
Added: 7.77.0
|
||||
Category: proxy tls
|
||||
Multi: boolean
|
||||
@ -16,3 +16,5 @@ Example:
|
||||
# `--proxy-ssl-auto-client-cert`
|
||||
|
||||
Same as --ssl-auto-client-cert but used in HTTPS proxy context.
|
||||
|
||||
This is only supported by Schannel.
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: proxy-tlsv1
|
||||
Help: Use TLSv1 for HTTPS proxy
|
||||
Help: TLSv1 for HTTPS proxy
|
||||
Added: 7.52.0
|
||||
Category: proxy tls auth
|
||||
Multi: mutex
|
||||
|
@ -3,7 +3,7 @@ c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: proxytunnel
|
||||
Short: p
|
||||
Help: Operate through an HTTP proxy tunnel (using CONNECT)
|
||||
Help: HTTP proxy tunnel (using CONNECT)
|
||||
Category: proxy
|
||||
Added: 7.3
|
||||
Multi: boolean
|
||||
|
@ -3,7 +3,7 @@ c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: remote-name
|
||||
Short: O
|
||||
Help: Write output to a file named as the remote file
|
||||
Help: Write output to file named as remote file
|
||||
Category: important output
|
||||
Added: 4.0
|
||||
Multi: append
|
||||
|
@ -3,7 +3,7 @@ c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: remote-time
|
||||
Short: R
|
||||
Help: Set the remote file's time on the local output
|
||||
Help: Set remote file's time on local output
|
||||
Category: output
|
||||
Added: 7.9
|
||||
Multi: boolean
|
||||
|
@ -3,7 +3,7 @@ c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: resolve
|
||||
Arg: <[+]host:port:addr[,addr]...>
|
||||
Help: Resolve the host+port to this address
|
||||
Help: Resolve host+port to address
|
||||
Added: 7.21.3
|
||||
Category: connection dns
|
||||
Multi: append
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: retry-all-errors
|
||||
Help: Retry all errors (use with --retry)
|
||||
Help: Retry all errors (with --retry)
|
||||
Added: 7.71.0
|
||||
Category: curl
|
||||
Multi: boolean
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: retry-connrefused
|
||||
Help: Retry on connection refused (use with --retry)
|
||||
Help: Retry on connection refused (with --retry)
|
||||
Added: 7.52.0
|
||||
Category: curl
|
||||
Multi: boolean
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: sasl-ir
|
||||
Help: Enable initial response in SASL authentication
|
||||
Help: Initial response in SASL authentication
|
||||
Added: 7.31.0
|
||||
Category: auth
|
||||
Multi: boolean
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: socks5-basic
|
||||
Help: Enable username/password auth for SOCKS5 proxies
|
||||
Help: Username/password auth for SOCKS5 proxies
|
||||
Added: 7.55.0
|
||||
Category: proxy auth
|
||||
Multi: mutex
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: ssl-revoke-best-effort
|
||||
Help: Ignore missing/offline cert CRL dist points (Schannel)
|
||||
Help: Ignore missing cert CRL dist points
|
||||
Added: 7.70.0
|
||||
Protocols: TLS
|
||||
Category: tls
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: ssl
|
||||
Help: Try SSL/TLS
|
||||
Help: Try enabling TLS
|
||||
Protocols: FTP IMAP POP3 SMTP LDAP
|
||||
Added: 7.20.0
|
||||
Category: tls
|
||||
|
@ -8,7 +8,7 @@ Protocols: SSL
|
||||
Added: 5.9
|
||||
Mutexed: sslv3 tlsv1 tlsv1.1 tlsv1.2
|
||||
Requires: TLS
|
||||
Help: Use SSLv2
|
||||
Help: SSLv2
|
||||
Category: tls
|
||||
Multi: mutex
|
||||
See-also:
|
||||
|
@ -8,7 +8,7 @@ Protocols: SSL
|
||||
Added: 5.9
|
||||
Mutexed: sslv2 tlsv1 tlsv1.1 tlsv1.2
|
||||
Requires: TLS
|
||||
Help: Use SSLv3
|
||||
Help: SSLv3
|
||||
Category: tls
|
||||
Multi: mutex
|
||||
See-also:
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: tcp-nodelay
|
||||
Help: Use the TCP_NODELAY option
|
||||
Help: Set TCP_NODELAY
|
||||
Added: 7.11.2
|
||||
Category: connection
|
||||
Multi: boolean
|
||||
|
@ -7,7 +7,7 @@ Tags: Versions
|
||||
Protocols: TLS
|
||||
Added: 7.54.0
|
||||
Requires: TLS
|
||||
Help: Set maximum allowed TLS version
|
||||
Help: Maximum allowed TLS version
|
||||
Category: tls
|
||||
Multi: single
|
||||
See-also:
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: tls13-ciphers
|
||||
Arg: <ciphersuite list>
|
||||
Arg: <list>
|
||||
help: TLS 1.3 cipher suites to use
|
||||
Protocols: TLS
|
||||
Category: tls
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: tlsv1.0
|
||||
Help: Use TLSv1.0 or greater
|
||||
Help: TLSv1.0 or greater
|
||||
Protocols: TLS
|
||||
Added: 7.34.0
|
||||
Category: tls
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: tlsv1.1
|
||||
Help: Use TLSv1.1 or greater
|
||||
Help: TLSv1.1 or greater
|
||||
Protocols: TLS
|
||||
Added: 7.34.0
|
||||
Category: tls
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: tlsv1.2
|
||||
Help: Use TLSv1.2 or greater
|
||||
Help: TLSv1.2 or greater
|
||||
Protocols: TLS
|
||||
Added: 7.34.0
|
||||
Category: tls
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: tlsv1.3
|
||||
Help: Use TLSv1.3 or greater
|
||||
Help: TLSv1.3 or greater
|
||||
Protocols: TLS
|
||||
Added: 7.52.0
|
||||
Category: tls
|
||||
|
@ -8,7 +8,7 @@ Protocols: TLS
|
||||
Added: 7.9.2
|
||||
Mutexed: tlsv1.1 tlsv1.2 tlsv1.3
|
||||
Requires: TLS
|
||||
Help: Use TLSv1.0 or greater
|
||||
Help: TLSv1.0 or greater
|
||||
Category: tls
|
||||
Multi: mutex
|
||||
See-also:
|
||||
|
@ -2,7 +2,7 @@
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: trace-ids
|
||||
Help: Add transfer and connection identifiers to trace/verbose output
|
||||
Help: Transfer + connection ids in verbose output
|
||||
Added: 8.2.0
|
||||
Category: verbose
|
||||
Multi: boolean
|
||||
|
@ -4,7 +4,7 @@ SPDX-License-Identifier: curl
|
||||
Long: write-out
|
||||
Short: w
|
||||
Arg: <format>
|
||||
Help: Use output FORMAT after completion
|
||||
Help: Output FORMAT after completion
|
||||
Category: verbose
|
||||
Added: 6.5
|
||||
Multi: single
|
||||
|
@ -73,6 +73,11 @@ static const struct category_descriptors categories[] = {
|
||||
{NULL, NULL, CURLHELP_HIDDEN}
|
||||
};
|
||||
|
||||
#ifdef _WIN32
|
||||
#define BORDER 78
|
||||
#else
|
||||
#define BORDER 79
|
||||
#endif
|
||||
|
||||
static void print_category(curlhelp_t category)
|
||||
{
|
||||
@ -91,12 +96,21 @@ static void print_category(curlhelp_t category)
|
||||
if(len > longdesc)
|
||||
longdesc = len;
|
||||
}
|
||||
if(longopt + longdesc > 80)
|
||||
longopt = 80 - longdesc;
|
||||
|
||||
if(longopt + longdesc >= BORDER) {
|
||||
longdesc -= 3;
|
||||
longopt = BORDER -1 - longdesc;
|
||||
}
|
||||
for(i = 0; helptext[i].opt; ++i)
|
||||
if(helptext[i].categories & category) {
|
||||
printf(" %-*s %s\n", (int)longopt, helptext[i].opt, helptext[i].desc);
|
||||
int opt = (int)longopt;
|
||||
size_t desclen = strlen(helptext[i].desc);
|
||||
if(opt + desclen >= (BORDER -1)) {
|
||||
if(desclen < (BORDER -1))
|
||||
opt = (BORDER -2) - (int)desclen;
|
||||
else
|
||||
opt = 0;
|
||||
}
|
||||
printf(" %-*s %s\n", opt, helptext[i].opt, helptext[i].desc);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -45,14 +45,14 @@ const struct helptxt helptext[] = {
|
||||
{"-a, --append",
|
||||
"Append to target file when uploading",
|
||||
CURLHELP_FTP | CURLHELP_SFTP},
|
||||
{" --aws-sigv4 <provider1[:provider2[:region[:service]]]>",
|
||||
"Use AWS V4 signature authentication",
|
||||
{" --aws-sigv4 <provider1[:prvdr2[:reg[:srv]]]>",
|
||||
"AWS V4 signature auth",
|
||||
CURLHELP_AUTH | CURLHELP_HTTP},
|
||||
{" --basic",
|
||||
"Use HTTP Basic Authentication",
|
||||
"HTTP Basic Authentication",
|
||||
CURLHELP_AUTH},
|
||||
{" --ca-native",
|
||||
"Use CA certificates from the native OS",
|
||||
"Load CA certs from the OS",
|
||||
CURLHELP_TLS},
|
||||
{" --cacert <file>",
|
||||
"CA certificate to verify peer against",
|
||||
@ -64,7 +64,7 @@ const struct helptxt helptext[] = {
|
||||
"Client certificate file and password",
|
||||
CURLHELP_TLS},
|
||||
{" --cert-status",
|
||||
"Verify the status of the server cert via OCSP-staple",
|
||||
"Verify server cert status OCSP-staple",
|
||||
CURLHELP_TLS},
|
||||
{" --cert-type <type>",
|
||||
"Certificate type (DER/PEM/ENG/P12)",
|
||||
@ -81,8 +81,8 @@ const struct helptxt helptext[] = {
|
||||
{"-K, --config <file>",
|
||||
"Read config from a file",
|
||||
CURLHELP_CURL},
|
||||
{" --connect-timeout <fractional seconds>",
|
||||
"Maximum time allowed for connection",
|
||||
{" --connect-timeout <seconds>",
|
||||
"Maximum time allowed to connect",
|
||||
CURLHELP_CONNECTION},
|
||||
{" --connect-to <HOST1:PORT1:HOST2:PORT2>",
|
||||
"Connect to host",
|
||||
@ -91,10 +91,10 @@ const struct helptxt helptext[] = {
|
||||
"Resumed transfer offset",
|
||||
CURLHELP_CONNECTION},
|
||||
{"-b, --cookie <data|filename>",
|
||||
"Send cookies from string/file",
|
||||
"Send cookies from string/load from file",
|
||||
CURLHELP_HTTP},
|
||||
{"-c, --cookie-jar <filename>",
|
||||
"Write cookies to <filename> after operation",
|
||||
"Save cookies to <filename> after operation",
|
||||
CURLHELP_HTTP},
|
||||
{" --create-dirs",
|
||||
"Create necessary local directory hierarchy",
|
||||
@ -106,10 +106,10 @@ const struct helptxt helptext[] = {
|
||||
"Convert LF to CRLF in upload",
|
||||
CURLHELP_FTP | CURLHELP_SMTP},
|
||||
{" --crlfile <file>",
|
||||
"Use this CRL list",
|
||||
"Certificate Revocation list",
|
||||
CURLHELP_TLS},
|
||||
{" --curves <algorithm list>",
|
||||
"(EC) TLS key exchange algorithm(s) to request",
|
||||
{" --curves <list>",
|
||||
"(EC) TLS key exchange algorithms to request",
|
||||
CURLHELP_TLS},
|
||||
{"-d, --data <data>",
|
||||
"HTTP POST data",
|
||||
@ -130,7 +130,7 @@ const struct helptxt helptext[] = {
|
||||
"GSS-API delegation permission",
|
||||
CURLHELP_AUTH},
|
||||
{" --digest",
|
||||
"Use HTTP Digest Authentication",
|
||||
"HTTP Digest Authentication",
|
||||
CURLHELP_PROXY | CURLHELP_AUTH | CURLHELP_HTTP},
|
||||
{"-q, --disable",
|
||||
"Disable .curlrc",
|
||||
@ -157,7 +157,7 @@ const struct helptxt helptext[] = {
|
||||
"DNS server addrs to use",
|
||||
CURLHELP_DNS},
|
||||
{" --doh-cert-status",
|
||||
"Verify the status of the DoH server cert via OCSP-staple",
|
||||
"Verify DoH server cert status OCSP-staple",
|
||||
CURLHELP_DNS | CURLHELP_TLS},
|
||||
{" --doh-insecure",
|
||||
"Allow insecure DoH server connections",
|
||||
@ -175,10 +175,10 @@ const struct helptxt helptext[] = {
|
||||
"Crypto engine to use",
|
||||
CURLHELP_TLS},
|
||||
{" --etag-compare <file>",
|
||||
"Pass an ETag from a file as a custom header",
|
||||
"Load ETag from file",
|
||||
CURLHELP_HTTP},
|
||||
{" --etag-save <file>",
|
||||
"Parse ETag from a request and save it to a file",
|
||||
"Parse incoming ETag and save to a file",
|
||||
CURLHELP_HTTP},
|
||||
{" --expect100-timeout <seconds>",
|
||||
"How long to wait for 100-continue",
|
||||
@ -187,7 +187,7 @@ const struct helptxt helptext[] = {
|
||||
"Fail fast with no output on HTTP errors",
|
||||
CURLHELP_IMPORTANT | CURLHELP_HTTP},
|
||||
{" --fail-early",
|
||||
"Fail on first transfer error, do not continue",
|
||||
"Fail on first transfer error",
|
||||
CURLHELP_CURL},
|
||||
{" --fail-with-body",
|
||||
"Fail on HTTP errors but save the body",
|
||||
@ -199,7 +199,7 @@ const struct helptxt helptext[] = {
|
||||
"Specify multipart MIME data",
|
||||
CURLHELP_HTTP | CURLHELP_UPLOAD},
|
||||
{" --form-escape",
|
||||
"Escape multipart form field/filenames using backslash",
|
||||
"Escape form fields using backslash",
|
||||
CURLHELP_HTTP | CURLHELP_UPLOAD},
|
||||
{" --form-string <name=string>",
|
||||
"Specify multipart MIME data",
|
||||
@ -217,10 +217,10 @@ const struct helptxt helptext[] = {
|
||||
"Control CWD usage",
|
||||
CURLHELP_FTP},
|
||||
{" --ftp-pasv",
|
||||
"Use PASV/EPSV instead of PORT",
|
||||
"Send PASV/EPSV instead of PORT",
|
||||
CURLHELP_FTP},
|
||||
{"-P, --ftp-port <address>",
|
||||
"Use PORT instead of PASV",
|
||||
"Send PORT instead of PASV",
|
||||
CURLHELP_FTP},
|
||||
{" --ftp-pret",
|
||||
"Send PRET before PASV",
|
||||
@ -235,19 +235,19 @@ const struct helptxt helptext[] = {
|
||||
"Set CCC mode",
|
||||
CURLHELP_FTP | CURLHELP_TLS},
|
||||
{" --ftp-ssl-control",
|
||||
"Require SSL/TLS for FTP login, clear for transfer",
|
||||
"Require TLS for login, clear for transfer",
|
||||
CURLHELP_FTP | CURLHELP_TLS},
|
||||
{"-G, --get",
|
||||
"Put the post data in the URL and use GET",
|
||||
CURLHELP_HTTP | CURLHELP_UPLOAD},
|
||||
{"-g, --globoff",
|
||||
"Disable URL sequences and ranges using {} and []",
|
||||
"Disable URL globbing with {} and []",
|
||||
CURLHELP_CURL},
|
||||
{" --happy-eyeballs-timeout-ms <milliseconds>",
|
||||
"Time for IPv6 before trying IPv4",
|
||||
{" --happy-eyeballs-timeout-ms <ms>",
|
||||
"Time for IPv6 before IPv4",
|
||||
CURLHELP_CONNECTION},
|
||||
{" --haproxy-clientip <IP address>",
|
||||
"Sets client IP in HAProxy PROXY protocol v1 header",
|
||||
{" --haproxy-clientip <ip>",
|
||||
"Set address in HAProxy PROXY",
|
||||
CURLHELP_HTTP | CURLHELP_PROXY},
|
||||
{" --haproxy-protocol",
|
||||
"Send HAProxy PROXY protocol v1 header",
|
||||
@ -262,10 +262,10 @@ const struct helptxt helptext[] = {
|
||||
"Get help for commands",
|
||||
CURLHELP_IMPORTANT | CURLHELP_CURL},
|
||||
{" --hostpubmd5 <md5>",
|
||||
"Acceptable MD5 hash of the host public key",
|
||||
"Acceptable MD5 hash of host public key",
|
||||
CURLHELP_SFTP | CURLHELP_SCP},
|
||||
{" --hostpubsha256 <sha256>",
|
||||
"Acceptable SHA256 hash of the host public key",
|
||||
"Acceptable SHA256 hash of host public key",
|
||||
CURLHELP_SFTP | CURLHELP_SCP},
|
||||
{" --hsts <filename>",
|
||||
"Enable HSTS with this cache file",
|
||||
@ -295,7 +295,7 @@ const struct helptxt helptext[] = {
|
||||
"Ignore the size of the remote resource",
|
||||
CURLHELP_HTTP | CURLHELP_FTP},
|
||||
{"-i, --include",
|
||||
"Include protocol response headers in the output",
|
||||
"Include response headers in output",
|
||||
CURLHELP_IMPORTANT | CURLHELP_VERBOSE},
|
||||
{"-k, --insecure",
|
||||
"Allow insecure server connections",
|
||||
@ -331,7 +331,7 @@ const struct helptxt helptext[] = {
|
||||
"Enable Kerberos with security <level>",
|
||||
CURLHELP_FTP},
|
||||
{" --libcurl <file>",
|
||||
"Dump libcurl equivalent code of this command line",
|
||||
"Generate libcurl code for this command line",
|
||||
CURLHELP_CURL},
|
||||
{" --limit-rate <speed>",
|
||||
"Limit transfer speed to RATE",
|
||||
@ -339,14 +339,14 @@ const struct helptxt helptext[] = {
|
||||
{"-l, --list-only",
|
||||
"List only mode",
|
||||
CURLHELP_FTP | CURLHELP_POP3 | CURLHELP_SFTP},
|
||||
{" --local-port <num/range>",
|
||||
"Force use of RANGE for local port numbers",
|
||||
{" --local-port <range>",
|
||||
"Use a local port number within RANGE",
|
||||
CURLHELP_CONNECTION},
|
||||
{"-L, --location",
|
||||
"Follow redirects",
|
||||
CURLHELP_HTTP},
|
||||
{" --location-trusted",
|
||||
"Like --location, and send auth to other hosts",
|
||||
"Like --location, but send auth to other hosts",
|
||||
CURLHELP_HTTP | CURLHELP_AUTH},
|
||||
{" --login-options <options>",
|
||||
"Server login options",
|
||||
@ -361,7 +361,7 @@ const struct helptxt helptext[] = {
|
||||
"Mail to this address",
|
||||
CURLHELP_SMTP},
|
||||
{" --mail-rcpt-allowfails",
|
||||
"Allow RCPT TO command to fail for some recipients",
|
||||
"Allow RCPT TO command to fail",
|
||||
CURLHELP_SMTP},
|
||||
{"-M, --manual",
|
||||
"Display the full manual",
|
||||
@ -372,7 +372,7 @@ const struct helptxt helptext[] = {
|
||||
{" --max-redirs <num>",
|
||||
"Maximum number of redirects allowed",
|
||||
CURLHELP_HTTP},
|
||||
{"-m, --max-time <fractional seconds>",
|
||||
{"-m, --max-time <seconds>",
|
||||
"Maximum time allowed for transfer",
|
||||
CURLHELP_CONNECTION},
|
||||
{" --metalink",
|
||||
@ -418,10 +418,10 @@ const struct helptxt helptext[] = {
|
||||
"List of hosts which do not use proxy",
|
||||
CURLHELP_PROXY},
|
||||
{" --ntlm",
|
||||
"Use HTTP NTLM authentication",
|
||||
"HTTP NTLM authentication",
|
||||
CURLHELP_AUTH | CURLHELP_HTTP},
|
||||
{" --ntlm-wb",
|
||||
"Use HTTP NTLM authentication with winbind",
|
||||
"HTTP NTLM authentication with winbind",
|
||||
CURLHELP_AUTH | CURLHELP_HTTP},
|
||||
{" --oauth2-bearer <token>",
|
||||
"OAuth 2 Bearer Token",
|
||||
@ -451,13 +451,13 @@ const struct helptxt helptext[] = {
|
||||
"FILE/HASHES Public key to verify peer against",
|
||||
CURLHELP_TLS},
|
||||
{" --post301",
|
||||
"Do not switch to GET after following a 301",
|
||||
"Do not switch to GET after a 301 redirect",
|
||||
CURLHELP_HTTP | CURLHELP_POST},
|
||||
{" --post302",
|
||||
"Do not switch to GET after following a 302",
|
||||
"Do not switch to GET after a 302 redirect",
|
||||
CURLHELP_HTTP | CURLHELP_POST},
|
||||
{" --post303",
|
||||
"Do not switch to GET after following a 303",
|
||||
"Do not switch to GET after a 303 redirect",
|
||||
CURLHELP_HTTP | CURLHELP_POST},
|
||||
{" --preproxy [protocol://]host[:port]",
|
||||
"Use this proxy first",
|
||||
@ -484,13 +484,13 @@ const struct helptxt helptext[] = {
|
||||
"Use Basic authentication on the proxy",
|
||||
CURLHELP_PROXY | CURLHELP_AUTH},
|
||||
{" --proxy-ca-native",
|
||||
"Use CA certificates from the native OS for proxy",
|
||||
"Load CA certs from the OS to verify proxy",
|
||||
CURLHELP_TLS},
|
||||
{" --proxy-cacert <file>",
|
||||
"CA certificate to verify peer against for proxy",
|
||||
"CA certificates to verify proxy against",
|
||||
CURLHELP_PROXY | CURLHELP_TLS},
|
||||
{" --proxy-capath <dir>",
|
||||
"CA directory to verify peer against for proxy",
|
||||
"CA directory to verify proxy against",
|
||||
CURLHELP_PROXY | CURLHELP_TLS},
|
||||
{" --proxy-cert <cert[:passwd]>",
|
||||
"Set client certificate for proxy",
|
||||
@ -505,7 +505,7 @@ const struct helptxt helptext[] = {
|
||||
"Set a CRL list for proxy",
|
||||
CURLHELP_PROXY | CURLHELP_TLS},
|
||||
{" --proxy-digest",
|
||||
"Use Digest authentication on the proxy",
|
||||
"Digest auth with the proxy",
|
||||
CURLHELP_PROXY | CURLHELP_TLS},
|
||||
{" --proxy-header <header/@file>",
|
||||
"Pass custom header(s) to proxy",
|
||||
@ -514,7 +514,7 @@ const struct helptxt helptext[] = {
|
||||
"Use HTTP/2 with HTTPS proxy",
|
||||
CURLHELP_HTTP | CURLHELP_PROXY},
|
||||
{" --proxy-insecure",
|
||||
"Do HTTPS proxy connections without verifying the proxy",
|
||||
"Skip HTTPS proxy cert verification",
|
||||
CURLHELP_PROXY | CURLHELP_TLS},
|
||||
{" --proxy-key <key>",
|
||||
"Private key for HTTPS proxy",
|
||||
@ -523,10 +523,10 @@ const struct helptxt helptext[] = {
|
||||
"Private key file type for proxy",
|
||||
CURLHELP_PROXY | CURLHELP_TLS},
|
||||
{" --proxy-negotiate",
|
||||
"Use HTTP Negotiate (SPNEGO) authentication on the proxy",
|
||||
"HTTP Negotiate (SPNEGO) auth with the proxy",
|
||||
CURLHELP_PROXY | CURLHELP_AUTH},
|
||||
{" --proxy-ntlm",
|
||||
"Use NTLM authentication on the proxy",
|
||||
"NTLM authentication with the proxy",
|
||||
CURLHELP_PROXY | CURLHELP_AUTH},
|
||||
{" --proxy-pass <phrase>",
|
||||
"Pass phrase for the private key for HTTPS proxy",
|
||||
@ -541,7 +541,7 @@ const struct helptxt helptext[] = {
|
||||
"Allow security flaw for interop for HTTPS proxy",
|
||||
CURLHELP_PROXY | CURLHELP_TLS},
|
||||
{" --proxy-ssl-auto-client-cert",
|
||||
"Use auto client certificate for proxy (Schannel)",
|
||||
"Auto client certificate for proxy",
|
||||
CURLHELP_PROXY | CURLHELP_TLS},
|
||||
{" --proxy-tls13-ciphers <ciphersuite list>",
|
||||
"TLS 1.3 proxy cipher suites",
|
||||
@ -556,7 +556,7 @@ const struct helptxt helptext[] = {
|
||||
"TLS username for HTTPS proxy",
|
||||
CURLHELP_PROXY | CURLHELP_TLS | CURLHELP_AUTH},
|
||||
{" --proxy-tlsv1",
|
||||
"Use TLSv1 for HTTPS proxy",
|
||||
"TLSv1 for HTTPS proxy",
|
||||
CURLHELP_PROXY | CURLHELP_TLS | CURLHELP_AUTH},
|
||||
{"-U, --proxy-user <user:password>",
|
||||
"Proxy user and password",
|
||||
@ -565,7 +565,7 @@ const struct helptxt helptext[] = {
|
||||
"Use HTTP/1.0 proxy on given port",
|
||||
CURLHELP_PROXY},
|
||||
{"-p, --proxytunnel",
|
||||
"Operate through an HTTP proxy tunnel (using CONNECT)",
|
||||
"HTTP proxy tunnel (using CONNECT)",
|
||||
CURLHELP_PROXY},
|
||||
{" --pubkey <key>",
|
||||
"SSH Public key filename",
|
||||
@ -592,13 +592,13 @@ const struct helptxt helptext[] = {
|
||||
"Use the header-provided filename",
|
||||
CURLHELP_OUTPUT},
|
||||
{"-O, --remote-name",
|
||||
"Write output to a file named as the remote file",
|
||||
"Write output to file named as remote file",
|
||||
CURLHELP_IMPORTANT | CURLHELP_OUTPUT},
|
||||
{" --remote-name-all",
|
||||
"Use the remote filename for all URLs",
|
||||
CURLHELP_OUTPUT},
|
||||
{"-R, --remote-time",
|
||||
"Set the remote file's time on the local output",
|
||||
"Set remote file's time on local output",
|
||||
CURLHELP_OUTPUT},
|
||||
{" --remove-on-error",
|
||||
"Remove output file on errors",
|
||||
@ -610,16 +610,16 @@ const struct helptxt helptext[] = {
|
||||
"Specify the target for this request",
|
||||
CURLHELP_HTTP},
|
||||
{" --resolve <[+]host:port:addr[,addr]...>",
|
||||
"Resolve the host+port to this address",
|
||||
"Resolve host+port to address",
|
||||
CURLHELP_CONNECTION | CURLHELP_DNS},
|
||||
{" --retry <num>",
|
||||
"Retry request if transient problems occur",
|
||||
CURLHELP_CURL},
|
||||
{" --retry-all-errors",
|
||||
"Retry all errors (use with --retry)",
|
||||
"Retry all errors (with --retry)",
|
||||
CURLHELP_CURL},
|
||||
{" --retry-connrefused",
|
||||
"Retry on connection refused (use with --retry)",
|
||||
"Retry on connection refused (with --retry)",
|
||||
CURLHELP_CURL},
|
||||
{" --retry-delay <seconds>",
|
||||
"Wait time between retries",
|
||||
@ -631,7 +631,7 @@ const struct helptxt helptext[] = {
|
||||
"Identity for SASL PLAIN authentication",
|
||||
CURLHELP_AUTH},
|
||||
{" --sasl-ir",
|
||||
"Enable initial response in SASL authentication",
|
||||
"Initial response in SASL authentication",
|
||||
CURLHELP_AUTH},
|
||||
{" --service-name <name>",
|
||||
"SPNEGO service name",
|
||||
@ -652,7 +652,7 @@ const struct helptxt helptext[] = {
|
||||
"SOCKS5 proxy on given host + port",
|
||||
CURLHELP_PROXY},
|
||||
{" --socks5-basic",
|
||||
"Enable username/password auth for SOCKS5 proxies",
|
||||
"Username/password auth for SOCKS5 proxies",
|
||||
CURLHELP_PROXY | CURLHELP_AUTH},
|
||||
{" --socks5-gssapi",
|
||||
"Enable GSS-API auth for SOCKS5 proxies",
|
||||
@ -673,7 +673,7 @@ const struct helptxt helptext[] = {
|
||||
"Trigger 'speed-limit' abort after this time",
|
||||
CURLHELP_CONNECTION},
|
||||
{" --ssl",
|
||||
"Try SSL/TLS",
|
||||
"Try enabling TLS",
|
||||
CURLHELP_TLS},
|
||||
{" --ssl-allow-beast",
|
||||
"Allow security flaw to improve interop",
|
||||
@ -688,13 +688,13 @@ const struct helptxt helptext[] = {
|
||||
"Require SSL/TLS",
|
||||
CURLHELP_TLS},
|
||||
{" --ssl-revoke-best-effort",
|
||||
"Ignore missing/offline cert CRL dist points (Schannel)",
|
||||
"Ignore missing cert CRL dist points",
|
||||
CURLHELP_TLS},
|
||||
{"-2, --sslv2",
|
||||
"Use SSLv2",
|
||||
"SSLv2",
|
||||
CURLHELP_TLS},
|
||||
{"-3, --sslv3",
|
||||
"Use SSLv3",
|
||||
"SSLv3",
|
||||
CURLHELP_TLS},
|
||||
{" --stderr <file>",
|
||||
"Where to redirect stderr",
|
||||
@ -709,7 +709,7 @@ const struct helptxt helptext[] = {
|
||||
"Use TCP Fast Open",
|
||||
CURLHELP_CONNECTION},
|
||||
{" --tcp-nodelay",
|
||||
"Use the TCP_NODELAY option",
|
||||
"Set TCP_NODELAY",
|
||||
CURLHELP_CONNECTION},
|
||||
{"-t, --telnet-option <opt=val>",
|
||||
"Set telnet option",
|
||||
@ -724,9 +724,9 @@ const struct helptxt helptext[] = {
|
||||
"Transfer based on a time condition",
|
||||
CURLHELP_HTTP | CURLHELP_FTP},
|
||||
{" --tls-max <VERSION>",
|
||||
"Set maximum allowed TLS version",
|
||||
"Maximum allowed TLS version",
|
||||
CURLHELP_TLS},
|
||||
{" --tls13-ciphers <ciphersuite list>",
|
||||
{" --tls13-ciphers <list>",
|
||||
"TLS 1.3 cipher suites to use",
|
||||
CURLHELP_TLS},
|
||||
{" --tlsauthtype <type>",
|
||||
@ -739,19 +739,19 @@ const struct helptxt helptext[] = {
|
||||
"TLS username",
|
||||
CURLHELP_TLS | CURLHELP_AUTH},
|
||||
{"-1, --tlsv1",
|
||||
"Use TLSv1.0 or greater",
|
||||
"TLSv1.0 or greater",
|
||||
CURLHELP_TLS},
|
||||
{" --tlsv1.0",
|
||||
"Use TLSv1.0 or greater",
|
||||
"TLSv1.0 or greater",
|
||||
CURLHELP_TLS},
|
||||
{" --tlsv1.1",
|
||||
"Use TLSv1.1 or greater",
|
||||
"TLSv1.1 or greater",
|
||||
CURLHELP_TLS},
|
||||
{" --tlsv1.2",
|
||||
"Use TLSv1.2 or greater",
|
||||
"TLSv1.2 or greater",
|
||||
CURLHELP_TLS},
|
||||
{" --tlsv1.3",
|
||||
"Use TLSv1.3 or greater",
|
||||
"TLSv1.3 or greater",
|
||||
CURLHELP_TLS},
|
||||
{" --tr-encoding",
|
||||
"Request compressed transfer encoding",
|
||||
@ -766,7 +766,7 @@ const struct helptxt helptext[] = {
|
||||
"Details to log in trace/verbose output",
|
||||
CURLHELP_VERBOSE},
|
||||
{" --trace-ids",
|
||||
"Add transfer and connection identifiers to trace/verbose output",
|
||||
"Transfer + connection ids in verbose output",
|
||||
CURLHELP_VERBOSE},
|
||||
{" --trace-time",
|
||||
"Add time stamps to trace/verbose output",
|
||||
@ -802,7 +802,7 @@ const struct helptxt helptext[] = {
|
||||
"Show version number and quit",
|
||||
CURLHELP_IMPORTANT | CURLHELP_CURL},
|
||||
{"-w, --write-out <format>",
|
||||
"Use output FORMAT after completion",
|
||||
"Output FORMAT after completion",
|
||||
CURLHELP_VERBOSE},
|
||||
{" --xattr",
|
||||
"Store metadata in extended file attributes",
|
||||
|
@ -32,18 +32,18 @@ curl important --help
|
||||
</errorcode>
|
||||
<stdout mode="text">
|
||||
Usage: curl [options...] <url>
|
||||
-d, --data <data> HTTP POST data
|
||||
-f, --fail Fail fast with no output on HTTP errors
|
||||
-h, --help <category> Get help for commands
|
||||
-i, --include Include protocol response headers in the output
|
||||
-o, --output <file> Write to file instead of stdout
|
||||
-O, --remote-name Write output to a file named as the remote file
|
||||
-s, --silent Silent mode
|
||||
-T, --upload-file <file> Transfer local FILE to destination
|
||||
-u, --user <user:password> Server user and password
|
||||
-A, --user-agent <name> Send User-Agent <name> to server
|
||||
-v, --verbose Make the operation more talkative
|
||||
-V, --version Show version number and quit
|
||||
-d, --data <data> HTTP POST data
|
||||
-f, --fail Fail fast with no output on HTTP errors
|
||||
-h, --help <category> Get help for commands
|
||||
-i, --include Include response headers in output
|
||||
-o, --output <file> Write to file instead of stdout
|
||||
-O, --remote-name Write output to file named as remote file
|
||||
-s, --silent Silent mode
|
||||
-T, --upload-file <file> Transfer local FILE to destination
|
||||
-u, --user <user:password> Server user and password
|
||||
-A, --user-agent <name> Send User-Agent <name> to server
|
||||
-v, --verbose Make the operation more talkative
|
||||
-V, --version Show version number and quit
|
||||
|
||||
This is not the full help, this menu is stripped into categories.
|
||||
Use "--help category" to get an overview of all categories.
|
||||
|
@ -37,9 +37,9 @@ curl file category --help
|
||||
<stdout mode="text">
|
||||
Usage: curl [options...] <url>
|
||||
file: FILE protocol options
|
||||
--create-file-mode <mode> File mode for created files
|
||||
-I, --head Show document info only
|
||||
-r, --range <range> Retrieve only the bytes within RANGE
|
||||
--create-file-mode <mode> File mode for created files
|
||||
-I, --head Show document info only
|
||||
-r, --range <range> Retrieve only the bytes within RANGE
|
||||
</stdout>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
@ -37,9 +37,9 @@ curl file category --help with lower/upper mix
|
||||
<stdout mode="text">
|
||||
Usage: curl [options...] <url>
|
||||
file: FILE protocol options
|
||||
--create-file-mode <mode> File mode for created files
|
||||
-I, --head Show document info only
|
||||
-r, --range <range> Retrieve only the bytes within RANGE
|
||||
--create-file-mode <mode> File mode for created files
|
||||
-I, --head Show document info only
|
||||
-r, --range <range> Retrieve only the bytes within RANGE
|
||||
</stdout>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
Loading…
x
Reference in New Issue
Block a user