From 18228f3044241041d6d54010f3982238dd922317 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 10 Aug 2021 02:48:41 -0700 Subject: [PATCH] fix help message --- weed/shell/command_remote_cache.go | 6 +++--- weed/shell/command_remote_mount.go | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/weed/shell/command_remote_cache.go b/weed/shell/command_remote_cache.go index 5f5fb060d..a964e994c 100644 --- a/weed/shell/command_remote_cache.go +++ b/weed/shell/command_remote_cache.go @@ -24,10 +24,10 @@ func (c *commandRemoteCache) Name() string { func (c *commandRemoteCache) Help() string { return `cache the file content for mounted directories or files - # assume a remote storage is configured to name "s3_1" - remote.configure -name=s3_1 -type=s3 -access_key=xxx -secret_key=yyy + # assume a remote storage is configured to name "cloud1" + remote.configure -name=cloud1 -type=s3 -access_key=xxx -secret_key=yyy # mount and pull one bucket - remote.mount -dir=xxx -remote=s3_1/bucket + remote.mount -dir=xxx -remote=cloud1/bucket # after mount, run one of these command to cache the content of the files remote.cache -dir=xxx diff --git a/weed/shell/command_remote_mount.go b/weed/shell/command_remote_mount.go index 84a27cad6..3b04fec63 100644 --- a/weed/shell/command_remote_mount.go +++ b/weed/shell/command_remote_mount.go @@ -27,13 +27,13 @@ func (c *commandRemoteMount) Name() string { func (c *commandRemoteMount) Help() string { return `mount remote storage and pull its metadata - # assume a remote storage is configured to name "s3_1" - remote.configure -name=s3_1 -type=s3 -access_key=xxx -secret_key=yyy + # assume a remote storage is configured to name "cloud1" + remote.configure -name=cloud1 -type=s3 -access_key=xxx -secret_key=yyy # mount and pull one bucket - remote.mount -dir=xxx -remote=s3_1/bucket + remote.mount -dir=xxx -remote=cloud1/bucket # mount and pull one directory in the bucket - remote.mount -dir=xxx -remote=s3_1/bucket/dir1 + remote.mount -dir=xxx -remote=cloud1/bucket/dir1 # after mount, start a separate process to write updates to remote storage weed filer.remote.sync -filer=: -dir=xxx