aboutsummaryrefslogtreecommitdiff
path: root/cmd/bolt
diff options
context:
space:
mode:
authorXiang Li <xiangli.cs@gmail.com>2015-04-22 21:37:22 -0700
committerXiang Li <xiangli.cs@gmail.com>2015-04-22 21:37:22 -0700
commit71f28eaecbebd00604d87bb1de0dae8fcfa54bbd (patch)
treefa4b412299e879067185265f39e8a114963fcbe6 /cmd/bolt
parentMerge pull request #352 from benbjohnson/cli (diff)
downloaddedo-71f28eaecbebd00604d87bb1de0dae8fcfa54bbd.tar.gz
dedo-71f28eaecbebd00604d87bb1de0dae8fcfa54bbd.tar.xz
cmd/bolt: remove duplicate blockProfile flag
Diffstat (limited to 'cmd/bolt')
-rw-r--r--cmd/bolt/main.go1
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, "")