Browse Source

change parameter help message

pull/1658/head
Chris Lu 4 years ago
parent
commit
57578a6cd1
  1. 2
      weed/shell/command_s3_configure.go

2
weed/shell/command_s3_configure.go

@ -33,7 +33,7 @@ func (c *commandS3Configure) Help() string {
func (c *commandS3Configure) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) { func (c *commandS3Configure) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
s3ConfigureCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError) s3ConfigureCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
actions := s3ConfigureCommand.String("actions", "", "actions names")
actions := s3ConfigureCommand.String("actions", "", "comma separated actions names: Read,Write,List,Tagging,Admin")
user := s3ConfigureCommand.String("user", "", "user name") user := s3ConfigureCommand.String("user", "", "user name")
buckets := s3ConfigureCommand.String("buckets", "", "bucket name") buckets := s3ConfigureCommand.String("buckets", "", "bucket name")
accessKey := s3ConfigureCommand.String("access_key", "", "specify the access key") accessKey := s3ConfigureCommand.String("access_key", "", "specify the access key")

Loading…
Cancel
Save