From df85f7a1ebf81e1f8fe8bed5089bf5be71d7c76f Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 8 Aug 2021 22:30:12 -0700 Subject: [PATCH] adjust help message --- weed/command/filer_remote_sync.go | 4 ++-- weed/command/filer_sync.go | 4 ++-- weed/shell/command_remote_mount.go | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/weed/command/filer_remote_sync.go b/weed/command/filer_remote_sync.go index 4afb7c091..dbc102c9d 100644 --- a/weed/command/filer_remote_sync.go +++ b/weed/command/filer_remote_sync.go @@ -56,8 +56,8 @@ func init() { var cmdFilerRemoteSynchronize = &Command{ UsageLine: "filer.remote.sync -filer=: -dir=/mount/s3_on_cloud", - Short: "resumeable continuously write back updates to remote storage if the directory is mounted to the remote storage", - Long: `resumeable continuously write back updates to remote storage if the directory is mounted to the remote storage + Short: "resumable continuously write back updates to remote storage if the directory is mounted to the remote storage", + Long: `resumable continuously write back updates to remote storage if the directory is mounted to the remote storage filer.remote.sync listens on filer update events. If any mounted remote file is updated, it will fetch the updated content, diff --git a/weed/command/filer_sync.go b/weed/command/filer_sync.go index a20f17201..a08238b56 100644 --- a/weed/command/filer_sync.go +++ b/weed/command/filer_sync.go @@ -70,8 +70,8 @@ func init() { var cmdFilerSynchronize = &Command{ UsageLine: "filer.sync -a=: -b=:", - Short: "resumeable continuous synchronization between two active-active or active-passive SeaweedFS clusters", - Long: `resumeable continuous synchronization for file changes between two active-active or active-passive filers + Short: "resumable continuous synchronization between two active-active or active-passive SeaweedFS clusters", + Long: `resumable continuous synchronization for file changes between two active-active or active-passive filers filer.sync listens on filer notifications. If any file is updated, it will fetch the updated content, and write to the other destination. Different from filer.replicate: diff --git a/weed/shell/command_remote_mount.go b/weed/shell/command_remote_mount.go index 91f8de2e2..f7869e221 100644 --- a/weed/shell/command_remote_mount.go +++ b/weed/shell/command_remote_mount.go @@ -35,6 +35,9 @@ func (c *commandRemoteMount) Help() string { # mount and pull one directory in the bucket remote.mount -dir=xxx -remote=s3_1/bucket/dir1 + # after mount, start a separate process to write updates to remote storage + weed filer.remote.sync -filer=: -dir=xxx + ` }