Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/commands/objectstorage/accesskeys/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ func NewCreateCommand(parent argparser.Registerer, g *global.Data) *CreateComman

// Required.
c.CmdClause.Flag("description", "Description of the access key").Required().StringVar(&c.description)
c.CmdClause.Flag("permission", "Permissions to be given to the access key").Required().StringVar(&c.permission)
c.CmdClause.Flag("permission", "Permissions to be given to the access key (read-write-admin, read-only-admin, read-write-objects, read-only-objects)").Required().StringVar(&c.permission)

// Optional.
c.CmdClause.Flag("bucket", "Bucket to be associated with the access key. Set flag multiple times to include multiple buckets").StringsVar(&c.buckets)
c.CmdClause.Flag("bucket", "Bucket to be associated with the access key. Set flag multiple times to include multiple buckets. If omitted, all buckets are associated").StringsVar(&c.buckets)
c.RegisterFlagBool(c.JSONFlag())

return &c
Expand Down
Loading