aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_copy.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-12-13 12:06:21 -0800
committerChris Lu <chris.lu@gmail.com>2020-12-13 12:06:21 -0800
commit8baba93fce4e3f6e0400a28ff01609f9358449de (patch)
tree64f4d338a3fe1aa3eceb81b107b625d80042ce30 /weed/command/filer_copy.go
parent51eadaf2b6ac064277ed82ff98023429c047b5a3 (diff)
downloadseaweedfs-8baba93fce4e3f6e0400a28ff01609f9358449de.tar.xz
seaweedfs-8baba93fce4e3f6e0400a28ff01609f9358449de.zip
rename parameter name to "disk"
Diffstat (limited to 'weed/command/filer_copy.go')
-rw-r--r--weed/command/filer_copy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.go
index ea7a96047..cc356de88 100644
--- a/weed/command/filer_copy.go
+++ b/weed/command/filer_copy.go
@@ -55,7 +55,7 @@ func init() {
copy.replication = cmdCopy.Flag.String("replication", "", "replication type")
copy.collection = cmdCopy.Flag.String("collection", "", "optional collection name")
copy.ttl = cmdCopy.Flag.String("ttl", "", "time to live, e.g.: 1m, 1h, 1d, 1M, 1y")
- copy.diskType = cmdCopy.Flag.String("diskType", "", "[hdd|ssd] choose between hard drive or solid state drive")
+ copy.diskType = cmdCopy.Flag.String("disk", "", "[hdd|ssd] choose between hard drive or solid state drive")
copy.maxMB = cmdCopy.Flag.Int("maxMB", 32, "split files larger than the limit")
copy.concurrenctFiles = cmdCopy.Flag.Int("c", 8, "concurrent file copy goroutines")
copy.concurrenctChunks = cmdCopy.Flag.Int("concurrentChunks", 8, "concurrent chunk copy goroutines for each file")