Commit b2549c31 authored by Matthew Holt's avatar Matthew Holt

Minor flag help text change; go fmt

parent 20c01883
...@@ -20,14 +20,14 @@ import ( ...@@ -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")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment