Skip to content

Commit

Permalink
Fix syntax in examples (#4834)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fexiven authored Jan 31, 2024
1 parent 1274167 commit e21762b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/anonymous-main.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ EXAMPLES:
{{.Prompt}} {{.HelpName}} set public s3/public-commons/images
5. Set a custom prefix based bucket anonymous on Amazon S3 cloud storage using a JSON file.
{{.Prompt}} {{.HelpName}} set-json s3/public-commons/images /path/to/anonymous.json
{{.Prompt}} {{.HelpName}} set-json /path/to/anonymous.json s3/public-commons/images
6. Get bucket permissions.
{{.Prompt}} {{.HelpName}} get s3/shared
Expand Down Expand Up @@ -488,7 +488,7 @@ func mainAnonymous(ctx *cli.Context) error {
switch ctx.Args().First() {
case "set", "set-json", "get", "get-json":
// anonymous set [private|public|download|upload] alias/bucket/prefix
// anonymous set-json alias/bucket/prefix path-to-anonymous-json-file
// anonymous set-json path-to-anonymous-json-file alias/bucket/prefix
// anonymous get alias/bucket/prefix
// anonymous get-json alias/bucket/prefix
runAnonymousCmd(ctx.Args())
Expand Down

0 comments on commit e21762b

Please sign in to comment.