Skip to content

Commit

Permalink
minor fix to cli help
Browse files Browse the repository at this point in the history
  • Loading branch information
dropwhile committed Jun 18, 2024
1 parent 4283834 commit dc47d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/go-camo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ type CLI struct {
MaxSize int64 `name:"max-size" help:"Max allowed response size (KB)"`
ReqTimeout time.Duration `name:"timeout" default:"4s" help:"Upstream request timeout"`
MaxRedirects int `name:"max-redirects" default:"3" help:"Maximum number of redirects to follow"`
MaxSizeRedirect string `name:"max-size-redirect" description:"URL to redirect when max-size is exceeded"`
MaxSizeRedirect string `name:"max-size-redirect" help:"URL to redirect when max-size is exceeded"`
Metrics bool `name:"metrics" help:"Enable Prometheus compatible metrics endpoint"`
NoDebugVars bool `name:"no-debug-vars" help:"Disable the /debug/vars/ metrics endpoint. This option has no effects when the metrics are not enabled."`
NoLogTS bool `name:"no-log-ts" help:"Do not add a timestamp to logging"`
Expand Down

0 comments on commit dc47d1e

Please sign in to comment.