Browse Source

[shell] Clarify bucket replication setting order

Baptiste Mille-Mathias 4 years ago
parent
commit
385a4dec30
1 changed files with 3 additions and 1 deletions
  1. 3 1
      weed/shell/command_s3_bucket_create.go

+ 3 - 1
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)
 	bucketCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
 	bucketName := bucketCommand.String("name", "", "bucket name")
 	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 {
 	if err = bucketCommand.Parse(args); err != nil {
 		return nil
 		return nil
 	}
 	}