0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00

Minor flag help text change; go fmt

This commit is contained in:
Matthew Holt 2015-05-05 23:19:14 -06:00
parent 20c01883c3
commit b2549c317c

10
main.go
View file

@ -20,14 +20,14 @@ import (
)
var (
conf string
http2 bool // TODO: temporary flag until http2 is standard
quiet bool
cpu string
conf string
http2 bool // TODO: temporary flag until http2 is standard
quiet bool
cpu string
)
func init() {
flag.StringVar(&conf, "conf", "", "Configuration file to use")
flag.StringVar(&conf, "conf", "", "Configuration file to use (default="+config.DefaultConfigFile+")")
flag.BoolVar(&http2, "http2", true, "Enable HTTP/2 support") // TODO: temporary flag until http2 merged into std lib
flag.BoolVar(&quiet, "quiet", false, "Quiet mode (no initialization output)")
flag.StringVar(&cpu, "cpu", "100%", "CPU cap")