mirror of
https://github.com/httpie/cli.git
synced 2025-01-09 23:28:27 +01:00
Mention XML when explaining formatting
This commit is contained in:
parent
cae83b3f9e
commit
1535d0c976
@ -1191,12 +1191,6 @@ There are dozens of styles available, here are just a few notable ones:
|
|||||||
| `fruity` | A bold, colorful scheme. Enable with `--style=fruity` |
|
| `fruity` | A bold, colorful scheme. Enable with `--style=fruity` |
|
||||||
| … | See `$ http --help` for all the possible `--style` values |
|
| … | See `$ http --help` for all the possible `--style` values |
|
||||||
|
|
||||||
Also, the following formatting is applied:
|
|
||||||
|
|
||||||
- HTTP headers are sorted by name.
|
|
||||||
- JSON data is indented, sorted by keys, and unicode escapes are converted
|
|
||||||
to the characters they represent.
|
|
||||||
|
|
||||||
Use one of these options to control output processing:
|
Use one of these options to control output processing:
|
||||||
|
|
||||||
| Option | Description |
|
| Option | Description |
|
||||||
@ -1206,6 +1200,14 @@ Use one of these options to control output processing:
|
|||||||
| `--pretty=format` | Apply formatting |
|
| `--pretty=format` | Apply formatting |
|
||||||
| `--pretty=none` | Disables output processing. Default for redirected output |
|
| `--pretty=none` | Disables output processing. Default for redirected output |
|
||||||
|
|
||||||
|
|
||||||
|
Formatting has the following effects:
|
||||||
|
|
||||||
|
- HTTP headers are sorted by name.
|
||||||
|
- JSON data is indented, sorted by keys, and unicode escapes are converted
|
||||||
|
to the characters they represent.
|
||||||
|
- XML and XHTML data is indented.
|
||||||
|
|
||||||
You can further control the applied formatting via the more granular [format options](#format-options).
|
You can further control the applied formatting via the more granular [format options](#format-options).
|
||||||
|
|
||||||
### Format options
|
### Format options
|
||||||
|
Loading…
Reference in New Issue
Block a user