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:
Francis Lavoie 2021-08-25 03:25:57 -04:00
parent a7861e98f7
commit 83fdd80db1
No known key found for this signature in database
GPG key ID: E73DB3ECE64E7885

View file

@ -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 [&lt;path&gt;] <pre><code class="cmd bash">caddy fmt [--overwrite] [&lt;path&gt;]</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.