Merge pull request #354 from xiang90/cmd

cmd/bolt: remove duplicate blockProfile flag
pull/34/head
Ben Johnson 2015-04-28 11:12:55 -07:00
commit 550b8c7cb6
1 changed files with 0 additions and 1 deletions

View File

@ -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, "")