]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs/cmdline-opts: use imperative form
authorDaniel Stenberg <daniel@haxx.se>
Sun, 30 Mar 2025 22:52:07 +0000 (00:52 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 31 Mar 2025 06:18:31 +0000 (08:18 +0200)
Use 'set', not 'sets' etc. For consistency.

Closes #16879

31 files changed:
docs/cmdline-opts/ciphers.md
docs/cmdline-opts/compressed-ssh.md
docs/cmdline-opts/data.md
docs/cmdline-opts/digest.md
docs/cmdline-opts/doh-cert-status.md
docs/cmdline-opts/doh-url.md
docs/cmdline-opts/ech.md
docs/cmdline-opts/ftp-port.md
docs/cmdline-opts/ftp-ssl-ccc-mode.md
docs/cmdline-opts/happy-eyeballs-timeout-ms.md
docs/cmdline-opts/haproxy-clientip.md
docs/cmdline-opts/http3-only.md
docs/cmdline-opts/json.md
docs/cmdline-opts/location-trusted.md
docs/cmdline-opts/mptcp.md
docs/cmdline-opts/no-buffer.md
docs/cmdline-opts/no-keepalive.md
docs/cmdline-opts/parallel.md
docs/cmdline-opts/pass.md
docs/cmdline-opts/remote-time.md
docs/cmdline-opts/tls-max.md
docs/cmdline-opts/tls13-ciphers.md
docs/cmdline-opts/tlsv1.0.md
docs/cmdline-opts/tlsv1.1.md
docs/cmdline-opts/tlsv1.2.md
docs/cmdline-opts/tlsv1.3.md
docs/cmdline-opts/trace-ids.md
docs/cmdline-opts/trace-time.md
docs/cmdline-opts/verbose.md
docs/cmdline-opts/version.md
docs/cmdline-opts/xattr.md

index 6a597a2c8fb192c5add8a3677e4c8b5827d75dd1..14f0425dbf5ea5e045c643fe6af35db12c98a10d 100644 (file)
@@ -18,8 +18,8 @@ Example:
 
 # `--ciphers`
 
-Specifies which cipher suites to use in the connection if it negotiates
-TLS 1.2 (1.1, 1.0). The list of ciphers suites must specify valid ciphers.
-Read up on cipher suite details on this URL:
+Specify which cipher suites to use in the connection if it negotiates TLS 1.2
+(1.1, 1.0). The list of ciphers suites must specify valid ciphers. Read up on
+cipher suite details on this URL:
 
 https://curl.se/docs/ssl-ciphers.html
index b404f62d5d292afc4a71933f74fbd82d87f2e398..955c59c2b704fdaf4c44a947b2a6b1da4469f3e6 100644 (file)
@@ -15,5 +15,5 @@ Example:
 
 # `--compressed-ssh`
 
-Enables built-in SSH compression. This is a request, not an order; the server
-may or may not do it.
+Enable SSH compression. This is a request, not an order; the server may or may
+not do it.
index 6b6e70285e45831d7e1d413b85ea5bf8e3985d07..356fd392046b96cce851d772b421c001455d458a 100644 (file)
@@ -22,7 +22,7 @@ Example:
 
 # `--data`
 
-Sends the specified data in a POST request to the HTTP server, in the same way
+Send the specified data in a POST request to the HTTP server, in the same way
 that a browser does when a user has filled in an HTML form and presses the
 submit button. This option makes curl pass the data to the server using the
 content-type application/x-www-form-urlencoded. Compare to --form.
index 04c5a79a964fb2b5169775d8040c9565b82fbec3..7a8b49cdf561ac4615e24a19240eca7ff88c347f 100644 (file)
@@ -18,6 +18,6 @@ Example:
 
 # `--digest`
 
-Enables HTTP Digest authentication. This authentication scheme avoids sending
+Enable HTTP Digest authentication. This authentication scheme avoids sending
 the password over the wire in clear text. Use this in combination with the
 normal --user option to set username and password.
index 920c5b435d5edc5b7d139a6e8e2407640f96d459..7c497cf16f426a90d5df043ecccbdb6639f1ca60 100644 (file)
@@ -16,7 +16,7 @@ Example:
 
 Same as --cert-status but used for DoH (DNS-over-HTTPS).
 
-Verifies the status of the DoH servers' certificate by using the Certificate
+Verify 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)
index 0f745af3b75c9937ffa17a80b222dd047509eff7..6c092d8eb5d52a03a93233dd1cb40d83124a5f77 100644 (file)
@@ -16,8 +16,8 @@ Example:
 
 # `--doh-url`
 
-Specifies which DNS-over-HTTPS (DoH) server to use to resolve hostnames,
-instead of using the default name resolver mechanism. The URL must be HTTPS.
+Specify which DNS-over-HTTPS (DoH) server to use to resolve hostnames, instead
+of using the default name resolver mechanism. The URL must be HTTPS.
 
 Some SSL options that you set for your transfer also applies to DoH since the
 name lookups take place over SSL. However, the certificate verification
index ed16cd81126b66c6b22433e3d682874b92eab39f..3d8f3873af4d97d22eab7aefaf622bb2849a95fc 100644 (file)
@@ -16,7 +16,7 @@ Example:
 
 # `--ech`
 
-Specifies how to do ECH (Encrypted Client Hello).
+Specify how to do ECH (Encrypted Client Hello).
 
 The values allowed for \<config\> can be:
 
index ff6d41c131f691967329960a81510e0b244f57fb..28cc34ba2f0b30efbcb37955cd4b51c4df9fc41c 100644 (file)
@@ -20,7 +20,7 @@ Example:
 
 # `--ftp-port`
 
-Reverses the default initiator/listener roles when connecting with FTP. This
+Reverse the default initiator/listener roles when connecting with FTP. This
 option makes curl use active mode. curl then commands the server to connect
 back to the client's specified address and port, while passive mode asks the
 server to setup an IP address and port for it to connect to. \<address\>
index 5f428dc0fa41648701c7f53118a9d5393100d132..3e9eb725c6285d0cbe362d73e2d200387b6fc644 100644 (file)
@@ -16,7 +16,7 @@ Example:
 
 # `--ftp-ssl-ccc-mode`
 
-Sets the CCC mode. The passive mode does not initiate the shutdown, but
-instead waits for the server to do it, and does not reply to the shutdown from
-the server. The active mode initiates the shutdown and waits for a reply from
-the server.
+Set the CCC mode. The passive mode does not initiate the shutdown, but instead
+waits for the server to do it, and does not reply to the shutdown from the
+server. The active mode initiates the shutdown and waits for a reply from the
+server.
index f4b492db0de0890c7c70aca8884255ed27b34009..f1abb37725764ae764b77a1d20036137d884546b 100644 (file)
@@ -16,6 +16,8 @@ Example:
 
 # `--happy-eyeballs-timeout-ms`
 
+Set the timeout for Happy Eyeballs.
+
 Happy Eyeballs is an algorithm that attempts to connect to both IPv4 and IPv6
 addresses for dual-stack hosts, giving IPv6 a head-start of the specified
 number of milliseconds. If the IPv6 address cannot be connected to within that
index fde085a97695d716adf2041df796f492b953c94e..fd27da7cc8519ea919c9b3af68ab78a08589f7f8 100644 (file)
@@ -16,7 +16,7 @@ Example:
 
 # `--haproxy-clientip`
 
-Sets a client IP in HAProxy PROXY protocol v1 header at the beginning of the
+Set a client IP in HAProxy PROXY protocol v1 header at the beginning of the
 connection.
 
 For valid requests, IPv4 addresses must be indicated as a series of exactly
index 0ee5f1887e6840555bc58dfff58b5f0e93176075..400ac19ac2d76a6ca2e9acb8802919112b008e18 100644 (file)
@@ -20,7 +20,7 @@ Example:
 
 # `--http3-only`
 
-Instructs curl to use HTTP/3 to the host in the URL, with no fallback to
+Instruct curl to use HTTP/3 to the host in the URL, with no fallback to
 earlier HTTP versions. HTTP/3 can only be used for HTTPS and not for HTTP
 URLs. For HTTP, this option triggers an error.
 
index 7763d81ee0ba8988b9f05cbecfffbf3f77a1a4ae..c64a9ab124af225b4bca8786f272905402f50e41 100644 (file)
@@ -21,7 +21,7 @@ Example:
 
 # `--json`
 
-Sends the specified JSON data in a POST request to the HTTP server. --json
+Send the specified JSON data in a POST request to the HTTP server. --json
 works as a shortcut for passing on these three options:
 
     --data-binary [arg]
index 06458a467879a5353779b6e6aaaaa42a3003caf3..5e20d8cc1fce7d33dfed59d9aee0b4e00f9b0de3 100644 (file)
@@ -16,7 +16,7 @@ Example:
 
 # `--location-trusted`
 
-Instructs curl to like --location follow HTTP redirects, but permits it to
+Instruct curl to follow HTTP redirects like --location, but permit curl to
 send credentials and other secrets along to other hosts than the initial one.
 
 This may or may not introduce a security breach if the site redirects you to a
index 698b69370164ec10dfd991a1bebbd2a0eda86e32..2cd76abc3fb2ebffe824bb9edc1143628dbea999 100644 (file)
@@ -14,7 +14,7 @@ Example:
 
 # `--mptcp`
 
-Enables the use of Multipath TCP (MPTCP) for connections. MPTCP is an extension
+Enable the use of Multipath TCP (MPTCP) for connections. MPTCP is an extension
 to the standard TCP that allows multiple TCP streams over different network
 paths between the same source and destination. This can enhance bandwidth and
 improve reliability by using multiple paths simultaneously.
index e0860155c888b51b585c71229a1bcde83fe6694d..442beb0b3c0141096be1acd0739fbc4f98b340b6 100644 (file)
@@ -15,7 +15,7 @@ Example:
 
 # `--no-buffer`
 
-Disables the buffering of the output stream. In normal work situations, curl
+Disable the buffering of the output stream. In normal work situations, curl
 uses a standard buffered output stream that has the effect that it outputs the
 data in chunks, not necessarily exactly when the data arrives. Using this
 option disables that buffering.
index 2c2115fe092bc613f69557abe95e9fc4ded73e35..99dd0329dbebdf782acc63168f3a2d6d212fe956 100644 (file)
@@ -15,7 +15,7 @@ Example:
 
 # `--no-keepalive`
 
-Disables the use of keepalive messages on the TCP connection. curl otherwise
+Disable the use of keepalive messages on the TCP connection. curl otherwise
 enables them by default.
 
 Note that this is the negated option name documented. You can thus use
index fb9221bc6f2039d95aabdaac3fafb27a30d1b2a8..d4776eb537529c21383cc11e636f090210edcf56 100644 (file)
@@ -19,7 +19,7 @@ Example:
 
 # `--parallel`
 
-Makes curl perform all transfers in parallel as compared to the regular serial
+Make curl perform all transfers in parallel as compared to the regular serial
 manner. Parallel transfer means that curl runs up to N concurrent transfers
 simultaneously and if there are more than N transfers to handle, it starts new
 ones when earlier transfers finish.
index 98bc35b244ecfa7d850c75a8b1ef9f49d9294a5f..0527334f2ab98039fd9c4b48a7f385375479b022 100644 (file)
@@ -17,4 +17,4 @@ Example:
 
 # `--pass`
 
-Passphrase for the private key.
+Passphrase for the private key used for SSH or TLS.
index 7c5d21f036751d5c775ca2c4cd513fdcd326078f..3f8c702b458a20654186bd3befb35d96d7fd18c7 100644 (file)
@@ -16,6 +16,6 @@ Example:
 
 # `--remote-time`
 
-Makes curl attempt to figure out the timestamp of the remote file that is
+Make curl attempt to figure out the timestamp of the remote file that is
 getting downloaded, and if that is available make the local file get that same
 timestamp.
index 87233c75ac05c9caf97e0e1d536b4348693b8457..512a90e7ce80036d7c5e7f8921395f848342bc84 100644 (file)
@@ -22,8 +22,8 @@ Example:
 
 # `--tls-max`
 
-VERSION defines maximum supported TLS version. The minimum acceptable version
-is set by tlsv1.0, tlsv1.1, tlsv1.2 or tlsv1.3.
+Set the maximum allowed TLS version. The minimum acceptable version is set by
+tlsv1.0, tlsv1.1, tlsv1.2 or tlsv1.3.
 
 If the connection is done without TLS, this option has no effect. This
 includes QUIC-using (HTTP/3) transfers.
index ccd08f7c815a867ecb1f5ee0d961755aae674945..cae224eb17db16ef93ba6b7d5125648999c3add3 100644 (file)
@@ -18,9 +18,9 @@ Example:
 
 # `--tls13-ciphers`
 
-Specifies which cipher suites to use in the connection if it negotiates TLS
-1.3. The list of ciphers suites must specify valid ciphers. Read up on TLS 1.3
-cipher suite details on this URL:
+Set which cipher suites to use in the connection if it negotiates TLS 1.3. The
+list of ciphers suites must specify valid ciphers. Read up on TLS 1.3 cipher
+suite details on this URL:
 
 https://curl.se/docs/ssl-ciphers.html
 
index 66ca32389ef0d6404f49473ed8ae0a841a069831..59eaae26e943152061d1bdafc5608334a3a05c31 100644 (file)
@@ -15,7 +15,7 @@ Example:
 
 # `--tlsv1.0`
 
-Forces curl to use TLS version 1.0 or later when connecting to a remote TLS server.
+Force curl to use TLS version 1.0 or later when connecting to a remote TLS server.
 
 In old versions of curl this option was documented to allow _only_ TLS 1.0.
 That behavior was inconsistent depending on the TLS library. Use --tls-max if
index 577b7c7a5011adc1cfafcaa39d8fb6482a148828..5f5e7c765c2bec5840884a554ebf491cda9774b4 100644 (file)
@@ -16,7 +16,7 @@ Example:
 
 # `--tlsv1.1`
 
-Forces curl to use TLS version 1.1 or later when connecting to a remote TLS server.
+Force curl to use TLS version 1.1 or later when connecting to a remote TLS server.
 
 In old versions of curl this option was documented to allow _only_ TLS 1.1.
 That behavior was inconsistent depending on the TLS library. Use --tls-max if
index 0132074e3c22fa9e7a139ad9e6e3ab980ef5c87c..bf38762be7b7d241b6c6b894dfddbf363cdab4f3 100644 (file)
@@ -16,7 +16,7 @@ Example:
 
 # `--tlsv1.2`
 
-Forces curl to use TLS version 1.2 or later when connecting to a remote TLS server.
+Force curl to use TLS version 1.2 or later when connecting to a remote TLS server.
 
 In old versions of curl this option was documented to allow _only_ TLS 1.2.
 That behavior was inconsistent depending on the TLS library. Use --tls-max if
index 6c65f59de656a7014654d44b7c550587de4872f6..6f14eccb5a0c616033a4b09f40738a6ae56a68db 100644 (file)
@@ -16,7 +16,7 @@ Example:
 
 # `--tlsv1.3`
 
-Forces curl to use TLS version 1.3 or later when connecting to a remote TLS
+Force curl to use TLS version 1.3 or later when connecting to a remote TLS
 server.
 
 If the connection is done without TLS, this option has no effect. This
index dc7d61e7f7e41a72268fc2af35ecb1e65227029b..b9a622260040f0823c1d27b6251ea457ae366c69 100644 (file)
@@ -16,4 +16,5 @@ Example:
 
 # `--trace-ids`
 
-Prepends the transfer and connection identifiers to each trace or verbose line that curl displays.
+Prepend the transfer and connection identifiers to each trace or verbose line
+that curl displays.
index d3e0f47c19dec5f0f7f35229ae832e9b17dc9090..baa7b8800f9c98f6f868c733f7095f8de1a72592 100644 (file)
@@ -16,4 +16,4 @@ Example:
 
 # `--trace-time`
 
-Prepends a time stamp to each trace or verbose line that curl displays.
+Prepend a time stamp to each trace or verbose line that curl displays.
index 21065f7169f040d5056d0a044abddeb9b7c9f335..0a251c3126907bd43276859a05904c6a8ff1c1c8 100644 (file)
@@ -20,10 +20,11 @@ Example:
 
 # `--verbose`
 
-Makes curl verbose during the operation. Useful for debugging and seeing
-what's going on under the hood. A line starting with \> means header data sent
-by curl, \< means header data received by curl that is hidden in normal cases,
-and a line starting with * means additional info provided by curl.
+Make curl output verbose information during the operation. Useful for
+debugging and seeing what's going on under the hood. A line starting with \>
+means header data sent by curl, \< means header data received by curl that is
+hidden in normal cases, and a line starting with * means additional info
+provided by curl.
 
 If you only want HTTP headers in the output, --show-headers or --dump-header
 might be more suitable options.
index 3f021565e5b19ff057506dd312c5a1d49b5e0086..46074f8b8c23f20dcd4b77014f33412b00a7edb3 100644 (file)
@@ -16,7 +16,7 @@ Example:
 
 # `--version`
 
-Displays information about curl and the libcurl version it uses.
+Display information about curl and the libcurl version it uses.
 
 The first line includes the full version of curl, libcurl and other 3rd party
 libraries linked with the executable.
index 0c3bb753ae5db02a2f08abff304f8e6bb6ac2e3c..380cdbdfd35da6432f08f5b791c73ba96184d432 100644 (file)
@@ -16,6 +16,8 @@ Example:
 
 # `--xattr`
 
+Store metadata in the extended file attributes.
+
 When saving output to a file, tell curl to store file metadata in extended
 file attributes. Currently, `curl` is stored in the `creator` attribute,
 the URL is stored in the `xdg.origin.url` attribute and, for HTTP, the content