mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix help message
This commit is contained in:
parent
55973e8572
commit
a8b0f8864d
|
@ -26,7 +26,7 @@ func (c *commandRemoteCache) Help() string {
|
|||
return `cache the file content for mounted directories or files
|
||||
|
||||
# assume a remote storage is configured to name "cloud1"
|
||||
remote.configure -name=cloud1 -type=s3 -access_key=xxx -secret_key=yyy
|
||||
remote.configure -name=cloud1 -type=s3 -s3.access_key=xxx -s3.secret_key=yyy
|
||||
# mount and pull one bucket
|
||||
remote.mount -dir=/xxx -remote=cloud1/bucket
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ func (c *commandRemoteMetaSync) Help() string {
|
|||
return `synchronize the local file meta data with the remote file metadata
|
||||
|
||||
# assume a remote storage is configured to name "cloud1"
|
||||
remote.configure -name=cloud1 -type=s3 -access_key=xxx -secret_key=yyy
|
||||
remote.configure -name=cloud1 -type=s3 -s3.access_key=xxx -s3.secret_key=yyy
|
||||
# mount and pull one bucket
|
||||
remote.mount -dir=/xxx -remote=cloud1/bucket
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ func (c *commandRemoteMount) Help() string {
|
|||
return `mount remote storage and pull its metadata
|
||||
|
||||
# assume a remote storage is configured to name "cloud1"
|
||||
remote.configure -name=cloud1 -type=s3 -access_key=xxx -secret_key=yyy
|
||||
remote.configure -name=cloud1 -type=s3 -s3.access_key=xxx -s3.secret_key=yyy
|
||||
|
||||
# mount and pull one bucket
|
||||
remote.mount -dir=/xxx -remote=cloud1/bucket
|
||||
|
|
|
@ -27,7 +27,7 @@ func (c *commandRemoteMountBuckets) Help() string {
|
|||
return `mount all buckets in remote storage and pull its metadata
|
||||
|
||||
# assume a remote storage is configured to name "cloud1"
|
||||
remote.configure -name=cloud1 -type=s3 -access_key=xxx -secret_key=yyy
|
||||
remote.configure -name=cloud1 -type=s3 -s3.access_key=xxx -s3.secret_key=yyy
|
||||
|
||||
# mount all buckets
|
||||
remote.mount.buckets -remote=cloud1
|
||||
|
|
|
@ -27,7 +27,7 @@ func (c *commandRemoteUnmount) Help() string {
|
|||
return `unmount remote storage
|
||||
|
||||
# assume a remote storage is configured to name "s3_1"
|
||||
remote.configure -name=s3_1 -type=s3 -access_key=xxx -secret_key=yyy
|
||||
remote.configure -name=s3_1 -type=s3 -s3.access_key=xxx -s3.secret_key=yyy
|
||||
# mount and pull one bucket
|
||||
remote.mount -dir=/xxx -remote=s3_1/bucket
|
||||
|
||||
|
|
Loading…
Reference in a new issue