mirror of
https://github.com/curl/curl.git
synced 2025-09-15 00:22:42 +03:00
variable.d: output the function names table style
Also correct the url function name in the header Closes #11641
This commit is contained in:
parent
fa8265a466
commit
bca286d9dc
|
@ -132,7 +132,7 @@ as POST data:
|
|||
|
||||
--variable %HOME
|
||||
--expand-variable fix@{{HOME}}/.secret
|
||||
--expand-data "{{fix:trim:urlencode}}"
|
||||
--expand-data "{{fix:trim:url}}"
|
||||
https://example.com/
|
||||
|
||||
Command line variables and expansions were added in in 8.3.0.
|
||||
|
|
|
@ -38,13 +38,20 @@ comma-separated list that is evaluated in a left-to-right order. Variable
|
|||
content holding null bytes that are not encoded when expanded, will cause
|
||||
error.
|
||||
|
||||
These are functions that can help you get the value inserted more
|
||||
conveniently.
|
||||
Available functions:
|
||||
.RS
|
||||
.TP 15
|
||||
**trim**
|
||||
removes all leading and trailing white space.
|
||||
.TP
|
||||
**json**
|
||||
outputs the content using JSON string quoting rules.
|
||||
.TP
|
||||
**url**
|
||||
shows the content URL (percent) encoded.
|
||||
.TP
|
||||
**b64**
|
||||
expands the variable base64 encoded
|
||||
.RE
|
||||
.IP
|
||||
|
||||
"trim" removes all leading and trailing white space.
|
||||
|
||||
"json" outputs the content using JSON string quoting rules.
|
||||
|
||||
"url" shows the content URL (percent) encoded.
|
||||
|
||||
"b64" expands the variable base64 encoded
|
||||
|
|
Loading…
Reference in New Issue
Block a user