You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: config_flag_test.go
+4-4
Original file line number
Diff line number
Diff line change
@@ -3,19 +3,19 @@ package nsq_test
3
3
import (
4
4
"flag"
5
5
6
-
"github.com/bitly/go-nsq"
6
+
"github.com/nsqio/go-nsq"
7
7
)
8
8
9
9
funcExampleConfigFlag() {
10
10
cfg:=nsq.NewConfig()
11
11
flagSet:=flag.NewFlagSet("", flag.ExitOnError)
12
12
13
-
flagSet.Var(&nsq.ConfigFlag{cfg}, "consumer.options", "option to passthrough to nsq.Consumer (may be given multiple times, http://godoc.org/github.com/bitly/go-nsq#Config.Set)")
13
+
flagSet.Var(&nsq.ConfigFlag{cfg}, "consumer-opt", "option to pass through to nsq.Consumer (may be given multiple times)")
0 commit comments