aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_s3_bucket_quota.go
diff options
context:
space:
mode:
authorguol-fnst <guol-fnst@fujitsu.com>2022-07-04 11:31:39 +0800
committerguol-fnst <guol-fnst@fujitsu.com>2022-07-04 11:31:39 +0800
commitdd4664e61018216af5c2b493eb43dad60f343010 (patch)
treedbef019812634cc3c7e13c4606330871ef31ffa1 /weed/shell/command_s3_bucket_quota.go
parentc349f8119522ed061b205ea431ee7e144df292a2 (diff)
downloadseaweedfs-dd4664e61018216af5c2b493eb43dad60f343010.tar.xz
seaweedfs-dd4664e61018216af5c2b493eb43dad60f343010.zip
fix usage
Diffstat (limited to 'weed/shell/command_s3_bucket_quota.go')
-rw-r--r--weed/shell/command_s3_bucket_quota.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/weed/shell/command_s3_bucket_quota.go b/weed/shell/command_s3_bucket_quota.go
index 17be1d5b0..fc53a9c2b 100644
--- a/weed/shell/command_s3_bucket_quota.go
+++ b/weed/shell/command_s3_bucket_quota.go
@@ -4,8 +4,9 @@ import (
"context"
"flag"
"fmt"
- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
"io"
+
+ "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
)
func init() {
@@ -23,7 +24,7 @@ func (c *commandS3BucketQuota) Help() string {
return `set/remove/enable/disable quota for a bucket
Example:
- s3.bucket.quota -name=<bucket_name> -operation=set -sizeMB=1024
+ s3.bucket.quota -name=<bucket_name> -op=set -sizeMB=1024
`
}