diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-12-13 12:05:31 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-12-13 12:05:31 -0800 |
| commit | 51eadaf2b6ac064277ed82ff98023429c047b5a3 (patch) | |
| tree | 60398e0116e2d23a548ccd293a69bd229d1e2eb9 /weed/command/benchmark.go | |
| parent | 0d2ec832e2ced90371f2c5549b175d5b93becd1a (diff) | |
| download | seaweedfs-51eadaf2b6ac064277ed82ff98023429c047b5a3.tar.xz seaweedfs-51eadaf2b6ac064277ed82ff98023429c047b5a3.zip | |
rename parameter name to "disk"
Diffstat (limited to 'weed/command/benchmark.go')
| -rw-r--r-- | weed/command/benchmark.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/benchmark.go b/weed/command/benchmark.go index 04f5b82e7..9a66083f1 100644 --- a/weed/command/benchmark.go +++ b/weed/command/benchmark.go @@ -63,7 +63,7 @@ func init() { b.sequentialRead = cmdBenchmark.Flag.Bool("readSequentially", false, "randomly read by ids from \"-list\" specified file") b.collection = cmdBenchmark.Flag.String("collection", "benchmark", "write data to this collection") b.replication = cmdBenchmark.Flag.String("replication", "000", "replication type") - b.diskType = cmdBenchmark.Flag.String("diskType", "", "[hdd|ssd] choose between hard drive or solid state drive") + b.diskType = cmdBenchmark.Flag.String("disk", "", "[hdd|ssd] choose between hard drive or solid state drive") b.cpuprofile = cmdBenchmark.Flag.String("cpuprofile", "", "cpu profile output file") b.maxCpu = cmdBenchmark.Flag.Int("maxCpu", 0, "maximum number of CPUs. 0 means all available CPUs") b.fsync = cmdBenchmark.Flag.Bool("fsync", false, "flush data to disk after write") |
