mirror of
https://github.com/caddyserver/website.git
synced 2025-04-21 20:46:15 -04:00
Note that caddy fmt doesn't support heredocs (#352)
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
This commit is contained in:
parent
d0b160b182
commit
b532efe482
2 changed files with 11 additions and 0 deletions
|
@ -181,6 +181,12 @@ The closing marker can be indented, which causes every line of text to have that
|
|||
|
||||
Additional tokens may follow the closing marker as arguments to the directive (such as in the example above, the status code `200`).
|
||||
|
||||
<aside class="advice">
|
||||
|
||||
The [`caddy fmt`](/docs/command-line#caddy-fmt) command [does not support](https://github.com/caddyserver/caddy/issues/5930#issuecomment-1797709061) heredocs.
|
||||
|
||||
</aside>
|
||||
|
||||
|
||||
## Global options
|
||||
|
||||
|
|
|
@ -234,6 +234,11 @@ Formats or prettifies a Caddyfile, then exits. The result is printed to stdout u
|
|||
`--diff` causes the output to be compared against the input, and lines will be prefixed with `-` and `+` where they differ. Note that unchanges lines are prefixed with two spaces for alignment, and that this is not a valid patch format; it's just meant as a visual tool.
|
||||
|
||||
|
||||
<aside class="advice">
|
||||
|
||||
The `caddy fmt` command [does not support](https://github.com/caddyserver/caddy/issues/5930#issuecomment-1797709061) [heredocs](/docs/caddyfile/concepts#heredocs).
|
||||
|
||||
</aside>
|
||||
|
||||
|
||||
### `caddy hash-password`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue