aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_remote_mount_buckets.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-05-31 14:48:46 -0700
committerchrislu <chris.lu@gmail.com>2022-05-31 14:48:46 -0700
commit6793bc853c8b54823157bda6af4385411f8f6aea (patch)
tree0e0be0f20906d86793eb90af96cec4ca6e78b219 /weed/shell/command_remote_mount_buckets.go
parent89948a373b746442e20b51a90b21744c8e6d215c (diff)
downloadseaweedfs-6793bc853c8b54823157bda6af4385411f8f6aea.tar.xz
seaweedfs-6793bc853c8b54823157bda6af4385411f8f6aea.zip
help message when in simulation mode
Diffstat (limited to 'weed/shell/command_remote_mount_buckets.go')
-rw-r--r--weed/shell/command_remote_mount_buckets.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_remote_mount_buckets.go b/weed/shell/command_remote_mount_buckets.go
index c4411e639..3ed22936f 100644
--- a/weed/shell/command_remote_mount_buckets.go
+++ b/weed/shell/command_remote_mount_buckets.go
@@ -46,10 +46,10 @@ func (c *commandRemoteMountBuckets) Do(args []string, commandEnv *CommandEnv, wr
bucketPattern := remoteMountBucketsCommand.String("bucketPattern", "", "match existing bucket name with wildcard characters '*' and '?'")
trimBucketSuffix := remoteMountBucketsCommand.Bool("trimBucketSuffix", true, "remote suffix auto generated by 'weed filer.remote.sync'")
apply := remoteMountBucketsCommand.Bool("apply", false, "apply the mount for listed buckets")
-
if err = remoteMountBucketsCommand.Parse(args); err != nil {
return nil
}
+ infoAboutSimulationMode(writer, *apply, "-apply")
if *remote == "" {
_, err = listExistingRemoteStorageMounts(commandEnv, writer)