aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2015-04-28 11:12:55 -0700
committerBen Johnson <benbjohnson@yahoo.com>2015-04-28 11:12:55 -0700
commit550b8c7cb64d61665aefda8dd52ad8c34e725be5 (patch)
tree93600463b9e7ee2b830b20f50e3a52c6cea3499a
parentMerge pull request #356 from timshannon/master (diff)
parentcmd/bolt: remove duplicate blockProfile flag (diff)
downloaddedo-550b8c7cb64d61665aefda8dd52ad8c34e725be5.tar.gz
dedo-550b8c7cb64d61665aefda8dd52ad8c34e725be5.tar.xz
Merge pull request #354 from xiang90/cmd
cmd/bolt: remove duplicate blockProfile flag
-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, "")