浏览代码

Parse the test flags

Chris Bannister 11 年之前
父节点
当前提交
93e6f50e69
共有 1 个文件被更改,包括 1 次插入0 次删除
  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)