From 71f28eaecbebd00604d87bb1de0dae8fcfa54bbd Mon Sep 17 00:00:00 2001 From: Xiang Li Date: Wed, 22 Apr 2015 21:37:22 -0700 Subject: cmd/bolt: remove duplicate blockProfile flag --- cmd/bolt/main.go | 1 - 1 file changed, 1 deletion(-) (limited to 'cmd/bolt/main.go') diff --git a/cmd/bolt/main.go b/cmd/bolt/main.go index 2c4c414..a1f2ae8 100644 --- a/cmd/bolt/main.go +++ b/cmd/bolt/main.go @@ -948,7 +948,6 @@ func (cmd *BenchCommand) ParseFlags(args []string) (*BenchOptions, error) { fs.StringVar(&options.CPUProfile, "cpuprofile", "", "") fs.StringVar(&options.MemProfile, "memprofile", "", "") fs.StringVar(&options.BlockProfile, "blockprofile", "", "") - fs.StringVar(&options.BlockProfile, "blockprofile", "", "") fs.Float64Var(&options.FillPercent, "fill-percent", bolt.DefaultFillPercent, "") fs.BoolVar(&options.NoSync, "no-sync", false, "") fs.BoolVar(&options.Work, "work", false, "") -- cgit v1.2.3