mirror of
https://github.com/curl/curl.git
synced 2026-08-02 07:30:29 +03:00
Better explain filter behaviour
This commit is contained in:
parent
40834d22e1
commit
64675a35c6
1 changed files with 8 additions and 5 deletions
|
|
@ -57,6 +57,14 @@ when using this option to properly escape. If this option is used at the
|
|||
command prompt then the % cannot be escaped and unintended expansion is
|
||||
possible.
|
||||
|
||||
The option allow a filter to be added to the variables that express a size.
|
||||
This allow to convert the size using the standard suffixes K, M, G... like
|
||||
what's printed by default on the CLI. The output won't exceed 4 digits plus one
|
||||
suffix character. To use it, add the `:pretty` suffix to the variable. For
|
||||
example, `--write-out '%{size_download:pretty}'`. This only works with variable
|
||||
that output a size like parameter
|
||||
|
||||
|
||||
The variables available are:
|
||||
|
||||
## `certs`
|
||||
|
|
@ -365,11 +373,6 @@ started yet for the handle. The transfer id is unique among all transfers
|
|||
performed using the same connection cache.
|
||||
(Added in 8.2.0)
|
||||
|
||||
The option allow a filter to be added to the variables that express a size.
|
||||
This allow to convert the size using the standard suffixes K, M, G... like
|
||||
what's printed by default on the CLI. To use it, add the `:pretty` suffix to
|
||||
the variable. For example, `--write-out '%{size_download:pretty}'`.
|
||||
|
||||
##
|
||||
|
||||
TIME OUTPUT FORMAT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue