aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-09-15 22:53:10 -0700
committerChris Lu <chris.lu@gmail.com>2021-09-15 22:53:10 -0700
commitb5f49104124aac262d75742577c13a946505df1c (patch)
treea58f7af073727ef4b0bc42ce2dbe99fcb18e1be7
parentf0907eb83cddd7c0160583702e0bb633ac551caf (diff)
downloadseaweedfs-b5f49104124aac262d75742577c13a946505df1c.tar.xz
seaweedfs-b5f49104124aac262d75742577c13a946505df1c.zip
adjust help messages
-rw-r--r--weed/command/filer_remote_gateway.go4
-rw-r--r--weed/command/filer_remote_sync.go13
2 files changed, 2 insertions, 15 deletions
diff --git a/weed/command/filer_remote_gateway.go b/weed/command/filer_remote_gateway.go
index ea23daf5e..1b44f31ce 100644
--- a/weed/command/filer_remote_gateway.go
+++ b/weed/command/filer_remote_gateway.go
@@ -54,8 +54,8 @@ func init() {
var cmdFilerRemoteGateway = &Command{
UsageLine: "filer.remote.gateway",
- Short: "resumable continuously write back bucket creation, deletion, and other local updates to remote storage",
- Long: `resumable continuously write back bucket creation, deletion, and other local updates to remote storage
+ Short: "resumable continuously write back bucket creation, deletion, and other local updates to remote object store",
+ Long: `resumable continuously write back bucket creation, deletion, and other local updates to remote object store
filer.remote.gateway listens on filer local buckets update events.
If any bucket is created, deleted, or updated, it will mirror the changes to remote object store.
diff --git a/weed/command/filer_remote_sync.go b/weed/command/filer_remote_sync.go
index 65cf8e91f..d44178ee7 100644
--- a/weed/command/filer_remote_sync.go
+++ b/weed/command/filer_remote_sync.go
@@ -53,21 +53,8 @@ var cmdFilerRemoteSynchronize = &Command{
If any mounted remote file is updated, it will fetch the updated content,
and write to the remote storage.
- There are two modes:
-
- 1)By default, watch /buckets folder and write back all changes.
-
- # if there is only one remote storage configured
- weed filer.remote.sync
- # if there are multiple remote storages configured
- # specify a remote storage to create new buckets.
- weed filer.remote.sync -createBucketAt=cloud1
-
- 2)Write back one mounted folder to remote storage
-
weed filer.remote.sync -dir=/mount/s3_on_cloud
-
`,
}