diff --git a/README.md b/README.md index c0d4b13..66ea299 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,9 @@ Common Options: ### Cluster ```bash 1, start router for hmq (https://github.com/fhmq/router.git) + $ go get github.com/fhmq/router + $ cd $GOPATH/github.com/fhmq/router + $ go run main.go 2, config router in hmq.config ("router": "127.0.0.1:9888") ``` diff --git a/broker/config.go b/broker/config.go index 13cfc0d..eea8b84 100644 --- a/broker/config.go +++ b/broker/config.go @@ -100,7 +100,6 @@ func ConfigureConfig(args []string) (*Config, error) { fs.Visit(func(f *flag.Flag) { switch f.Name { case "D": - // Check value to support -DV=false config.Debug = true } })