We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-l
-a
1 parent 88b4fbf commit fa5a579Copy full SHA for fa5a579
modules/caddyhttp/fileserver/command.go
@@ -55,10 +55,10 @@ respond with a file listing.`,
55
CobraFunc: func(cmd *cobra.Command) {
56
cmd.Flags().StringP("domain", "d", "", "Domain name at which to serve the files")
57
cmd.Flags().StringP("root", "r", "", "The path to the root of the site")
58
- cmd.Flags().StringP("listen", "", "", "The address to which to bind the listener")
+ cmd.Flags().StringP("listen", "l", "", "The address to which to bind the listener")
59
cmd.Flags().BoolP("browse", "b", false, "Enable directory browsing")
60
cmd.Flags().BoolP("templates", "t", false, "Enable template rendering")
61
- cmd.Flags().BoolP("access-log", "", false, "Enable the access log")
+ cmd.Flags().BoolP("access-log", "a", false, "Enable the access log")
62
cmd.Flags().BoolP("debug", "v", false, "Enable verbose debug logs")
63
cmd.RunE = caddycmd.WrapCommandFuncForCobra(cmdFileServer)
64
cmd.AddCommand(&cobra.Command{
0 commit comments