mirror of
https://github.com/curl/curl.git
synced 2026-08-24 16:13:43 +03:00
cmdline-opts/_VERSION: provide %VERSION correctly
... so that it does not get included verbatim in the output. Fixes a regression shipped in 8.6.0. Also fix a format mistake in form.md Closes #13008
This commit is contained in:
parent
9369c30cd8
commit
32e0544dc8
2 changed files with 8 additions and 8 deletions
|
|
@ -2,10 +2,10 @@
|
||||||
<!-- SPDX-License-Identifier: curl -->
|
<!-- SPDX-License-Identifier: curl -->
|
||||||
# VERSION
|
# VERSION
|
||||||
|
|
||||||
This man page describes curl %VERSION. If you use a later version, chances are
|
This man page describes curl `%VERSION`. If you use a later version, chances
|
||||||
this man page does not fully document it. If you use an earlier version, this
|
are this man page does not fully document it. If you use an earlier version,
|
||||||
document tries to include version information about which specific version
|
this document tries to include version information about which specific
|
||||||
that introduced changes.
|
version that introduced changes.
|
||||||
|
|
||||||
You can always learn which the latest curl version is by running
|
You can always learn which the latest curl version is by running
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,10 +29,10 @@ message to transmit.
|
||||||
|
|
||||||
This enables uploading of binary files etc. To force the 'content' part to be
|
This enables uploading of binary files etc. To force the 'content' part to be
|
||||||
a file, prefix the filename with an @ sign. To just get the content part from
|
a file, prefix the filename with an @ sign. To just get the content part from
|
||||||
a file, prefix the filename with the symbol \<. The difference between @ and <
|
a file, prefix the filename with the symbol \<. The difference between @ and
|
||||||
is then that @ makes a file get attached in the post as a file upload, while
|
\< is then that @ makes a file get attached in the post as a file upload,
|
||||||
the \< makes a text field and just get the contents for that text field from a
|
while the \< makes a text field and just get the contents for that text field
|
||||||
file.
|
from a file.
|
||||||
|
|
||||||
Tell curl to read content from stdin instead of a file by using - as
|
Tell curl to read content from stdin instead of a file by using - as
|
||||||
filename. This goes for both @ and \< constructs. When stdin is used, the
|
filename. This goes for both @ and \< constructs. When stdin is used, the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue