Explorar o código

Parse the test flags

Chris Bannister %!s(int64=11) %!d(string=hai) anos
pai
achega
93e6f50e69
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      cassandra_test.go

+ 1 - 0
cassandra_test.go

@@ -30,6 +30,7 @@ var (
 )
 
 func init() {
+	flag.Parse()
 	clusterHosts = strings.Split(*flagCluster, ",")
 	clusterSize = len(clusterHosts)
 	log.SetFlags(log.Lshortfile | log.LstdFlags)