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:
Daniel Stenberg 2024-02-28 11:40:04 +01:00
parent 9369c30cd8
commit 32e0544dc8
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -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