mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-06 22:40:31 -05:00
Minor flag help text change; go fmt
This commit is contained in:
parent
20c01883c3
commit
b2549c317c
1 changed files with 5 additions and 5 deletions
10
main.go
10
main.go
|
@ -20,14 +20,14 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
conf string
|
conf string
|
||||||
http2 bool // TODO: temporary flag until http2 is standard
|
http2 bool // TODO: temporary flag until http2 is standard
|
||||||
quiet bool
|
quiet bool
|
||||||
cpu string
|
cpu string
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
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(&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.BoolVar(&quiet, "quiet", false, "Quiet mode (no initialization output)")
|
||||||
flag.StringVar(&cpu, "cpu", "100%", "CPU cap")
|
flag.StringVar(&cpu, "cpu", "100%", "CPU cap")
|
||||||
|
|
Loading…
Reference in a new issue