mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-29 14:31:30 +08:00
[shell] Add more information to bucket.create
State the replication setting that will be honor if not defined.
This commit is contained in:
parent
97e3432dfe
commit
0ed5345954
@ -34,7 +34,7 @@ func (c *commandBucketCreate) Do(args []string, commandEnv *CommandEnv, writer i
|
||||
|
||||
bucketCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
|
||||
bucketName := bucketCommand.String("name", "", "bucket name")
|
||||
replication := bucketCommand.String("replication", "", "replication setting for the bucket")
|
||||
replication := bucketCommand.String("replication", "", "replication setting for the bucket, if not set it will honor the setting defined by the master")
|
||||
if err = bucketCommand.Parse(args); err != nil {
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user