Browse Source

Parse the test flags

Chris Bannister 11 years ago
parent
commit
93e6f50e69
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cassandra_test.go

+ 1 - 0
cassandra_test.go

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