diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-12-13 12:06:21 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-12-13 12:06:21 -0800 |
| commit | 8baba93fce4e3f6e0400a28ff01609f9358449de (patch) | |
| tree | 64f4d338a3fe1aa3eceb81b107b625d80042ce30 /weed/command/volume.go | |
| parent | 51eadaf2b6ac064277ed82ff98023429c047b5a3 (diff) | |
| download | seaweedfs-8baba93fce4e3f6e0400a28ff01609f9358449de.tar.xz seaweedfs-8baba93fce4e3f6e0400a28ff01609f9358449de.zip | |
rename parameter name to "disk"
Diffstat (limited to 'weed/command/volume.go')
| -rw-r--r-- | weed/command/volume.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go index 1a079f394..3c3699732 100644 --- a/weed/command/volume.go +++ b/weed/command/volume.go @@ -77,7 +77,7 @@ func init() { v.dataCenter = cmdVolume.Flag.String("dataCenter", "", "current volume server's data center name") v.rack = cmdVolume.Flag.String("rack", "", "current volume server's rack name") v.indexType = cmdVolume.Flag.String("index", "memory", "Choose [memory|leveldb|leveldbMedium|leveldbLarge] mode for memory~performance balance.") - v.diskType = cmdVolume.Flag.String("diskType", "", "[hdd|ssd] choose between hard drive or solid state drive") + v.diskType = cmdVolume.Flag.String("disk", "", "[hdd|ssd] choose between hard drive or solid state drive") v.fixJpgOrientation = cmdVolume.Flag.Bool("images.fix.orientation", false, "Adjust jpg orientation when uploading.") v.readRedirect = cmdVolume.Flag.Bool("read.redirect", true, "Redirect moved or non-local volumes.") v.cpuProfile = cmdVolume.Flag.String("cpuprofile", "", "cpu profile output file") |
