Parcourir la source

Parse the test flags

Chris Bannister il y a 11 ans
Parent
commit
93e6f50e69
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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)