mirror of
https://github.com/caddyserver/website.git
synced 2025-04-20 12:15:08 -04:00
docs: Fix caddy fmt
flag order
Reported in https://caddy.community/t/request-for-update-of-the-usage-of-caddy-fmt-on-the-site/12830
This commit is contained in:
parent
a7861e98f7
commit
83fdd80db1
1 changed files with 1 additions and 2 deletions
|
@ -173,8 +173,7 @@ This command disables the admin API, making it easier to run multiple instances
|
||||||
|
|
||||||
### `caddy fmt`
|
### `caddy fmt`
|
||||||
|
|
||||||
<pre><code class="cmd bash">caddy fmt [<path>]
|
<pre><code class="cmd bash">caddy fmt [--overwrite] [<path>]</code></pre>
|
||||||
[--overwrite]</code></pre>
|
|
||||||
|
|
||||||
Formats or prettifies a Caddyfile, then exits. The result is printed to stdout unless `--overwrite` is used.
|
Formats or prettifies a Caddyfile, then exits. The result is printed to stdout unless `--overwrite` is used.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue