From: Daniel Stenberg Date: Wed, 28 Feb 2024 10:40:04 +0000 (+0100) Subject: cmdline-opts/_VERSION: provide %VERSION correctly X-Git-Tag: curl-8_7_0~111 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=32e0544dc8f5bcdbcff5a3305fe6b41cb303e3d2;p=thirdparty%2Fcurl.git 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 --- diff --git a/docs/cmdline-opts/_VERSION.md b/docs/cmdline-opts/_VERSION.md index 4c759f1470..e0228fe9cd 100644 --- a/docs/cmdline-opts/_VERSION.md +++ b/docs/cmdline-opts/_VERSION.md @@ -2,10 +2,10 @@ # VERSION -This man page describes curl %VERSION. If you use a later version, chances are -this man page does not fully document it. If you use an earlier version, this -document tries to include version information about which specific version -that introduced changes. +This man page describes curl `%VERSION`. If you use a later version, chances +are this man page does not fully document it. If you use an earlier version, +this document tries to include version information about which specific +version that introduced changes. You can always learn which the latest curl version is by running diff --git a/docs/cmdline-opts/form.md b/docs/cmdline-opts/form.md index 25b4bc7305..44d958a468 100644 --- a/docs/cmdline-opts/form.md +++ b/docs/cmdline-opts/form.md @@ -29,10 +29,10 @@ message to transmit. 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 the symbol \<. The difference between @ and < -is then that @ makes a file get attached in the post as a file upload, while -the \< makes a text field and just get the contents for that text field from a -file. +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 the \< makes a text field and just get the contents for that text field +from a file. 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