diff options
author | Xiang Li <xiangli.cs@gmail.com> | 2015-04-22 21:37:22 -0700 |
---|---|---|
committer | Xiang Li <xiangli.cs@gmail.com> | 2015-04-22 21:37:22 -0700 |
commit | 71f28eaecbebd00604d87bb1de0dae8fcfa54bbd (patch) | |
tree | fa4b412299e879067185265f39e8a114963fcbe6 /cmd/bolt | |
parent | Merge pull request #352 from benbjohnson/cli (diff) | |
download | dedo-71f28eaecbebd00604d87bb1de0dae8fcfa54bbd.tar.gz dedo-71f28eaecbebd00604d87bb1de0dae8fcfa54bbd.tar.xz |
cmd/bolt: remove duplicate blockProfile flag
Diffstat (limited to 'cmd/bolt')
-rw-r--r-- | cmd/bolt/main.go | 1 |
1 files changed, 0 insertions, 1 deletions
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, "") |