From 385a4dec30f4b9a64f9cd72f46ac3757cda23c09 Mon Sep 17 00:00:00 2001 From: Baptiste Mille-Mathias Date: Wed, 23 Dec 2020 09:07:31 +0100 Subject: [PATCH] [shell] Clarify bucket replication setting order --- weed/shell/command_s3_bucket_create.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/weed/shell/command_s3_bucket_create.go b/weed/shell/command_s3_bucket_create.go index 28cf1d945..a512ffc4a 100644 --- a/weed/shell/command_s3_bucket_create.go +++ b/weed/shell/command_s3_bucket_create.go @@ -34,7 +34,9 @@ func (c *commandS3BucketCreate) Do(args []string, commandEnv *CommandEnv, writer bucketCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError) bucketName := bucketCommand.String("name", "", "bucket name") - replication := bucketCommand.String("replication", "", "replication setting for the bucket, if not set it will honor the setting defined by the filer or master") + replication := bucketCommand.String("replication", "", "replication setting for the bucket, if not set "+ + "it will honor the value defined by the filer if it exists, "+ + "else it will honor the value defined on the master") if err = bucketCommand.Parse(args); err != nil { return nil }