Explorar el Código

Parse the test flags

Chris Bannister hace 11 años
padre
commit
93e6f50e69
Se han modificado 1 ficheros con 1 adiciones y 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)