summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Roztocil <jakub@roztocil.co>2021-09-23 12:27:03 +0200
committerGitHub <noreply@github.com>2021-09-23 12:27:03 +0200
commit1535d0c9768f2a6a0c031cc09eecb589b599c13a (patch)
tree5de64397cdb142a3e31cf4ff868abe19f28552bc
parentcae83b3f9e2077afee85992e8135cae70bb91cf3 (diff)
Mention XML when explaining formatting
-rw-r--r--docs/README.md14
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/README.md b/docs/README.md
index 7f631011..8814114b 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -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` |
| … | 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:
| Option | Description |
@@ -1206,6 +1200,14 @@ Use one of these options to control output processing:
| `--pretty=format` | Apply formatting |
| `--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).
### Format options