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