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/mount.go | |
| parent | 0d2ec832e2ced90371f2c5549b175d5b93becd1a (diff) | |
| download | seaweedfs-51eadaf2b6ac064277ed82ff98023429c047b5a3.tar.xz seaweedfs-51eadaf2b6ac064277ed82ff98023429c047b5a3.zip | |
rename parameter name to "disk"
Diffstat (limited to 'weed/command/mount.go')
| -rw-r--r-- | weed/command/mount.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/mount.go b/weed/command/mount.go index 6a11fe327..dc0bb5488 100644 --- a/weed/command/mount.go +++ b/weed/command/mount.go @@ -42,7 +42,7 @@ func init() { mountOptions.dirAutoCreate = cmdMount.Flag.Bool("dirAutoCreate", false, "auto create the directory to mount to") mountOptions.collection = cmdMount.Flag.String("collection", "", "collection to create the files") mountOptions.replication = cmdMount.Flag.String("replication", "", "replication(e.g. 000, 001) to create to files. If empty, let filer decide.") - mountOptions.diskType = cmdMount.Flag.String("diskType", "", "[hdd|ssd] choose between hard drive or solid state drive") + mountOptions.diskType = cmdMount.Flag.String("disk", "", "[hdd|ssd] choose between hard drive or solid state drive") mountOptions.ttlSec = cmdMount.Flag.Int("ttl", 0, "file ttl in seconds") mountOptions.chunkSizeLimitMB = cmdMount.Flag.Int("chunkSizeLimitMB", 2, "local write buffer size, also chunk large files") mountOptions.concurrentWriters = cmdMount.Flag.Int("concurrentWriters", 0, "limit concurrent goroutine writers if not 0") |
