summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2022-09-20 16:56:02 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2022-09-20 16:56:02 -0600
commitbeb7dcbf2aa0d523ad230d21187e923ecd676eba (patch)
treedd906592f3f958270f54ab71d8ff2997991e1907
parent821a08a6e39ed0e7c43b0271ccf126c194eb6339 (diff)
fileserver: Reinstate --debug flag
I think it got lost during a rebase or something
-rw-r--r--modules/caddyhttp/fileserver/command.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/caddyhttp/fileserver/command.go b/modules/caddyhttp/fileserver/command.go
index 6a77509..bc7f981 100644
--- a/modules/caddyhttp/fileserver/command.go
+++ b/modules/caddyhttp/fileserver/command.go
@@ -57,6 +57,7 @@ respond with a file listing.`,
fs.Bool("browse", false, "Enable directory browsing")
fs.Bool("templates", false, "Enable template rendering")
fs.Bool("access-log", false, "Enable the access log")
+ fs.Bool("debug", false, "Enable verbose debug logs")
return fs
}(),
})