Browse Source
Merge pull request #1699 from bmillemathias/master
[shell] Add more information to bucket.create
pull/1700/head
Chris Lu
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
weed/shell/command_bucket_create.go
|
|
@ -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 |
|
|
|
} |
|
|
|