summaryrefslogtreecommitdiff
path: root/caddyconfig/caddyfile
diff options
context:
space:
mode:
authorEmily Lange <git@indeednotjames.com>2023-02-17 00:34:12 +0100
committerGitHub <noreply@github.com>2023-02-16 16:34:12 -0700
commitbf54892a73373637901c13e018b20cfac15878b4 (patch)
treee9cf0bed1624253c28bb3752f86b043198c09995 /caddyconfig/caddyfile
parent5ded580444e9258cb35a9c94192d3c1d63e7b74f (diff)
cmd: make `caddy fmt` hints more clear (#5378)
Diffstat (limited to 'caddyconfig/caddyfile')
-rw-r--r--caddyconfig/caddyfile/adapter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/caddyconfig/caddyfile/adapter.go b/caddyconfig/caddyfile/adapter.go
index b924325..d6ef602 100644
--- a/caddyconfig/caddyfile/adapter.go
+++ b/caddyconfig/caddyfile/adapter.go
@@ -88,7 +88,7 @@ func FormattingDifference(filename string, body []byte) (caddyconfig.Warning, bo
return caddyconfig.Warning{
File: filename,
Line: line,
- Message: "Caddyfile input is not formatted; run the 'caddy fmt' command to fix inconsistencies",
+ Message: "Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies",
}, true
}