Skip to content

Commit

Permalink
docs, echo missing -e option
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tw1r3 committed Mar 6, 2020
1 parent 5e9726f commit fa277f0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/admin-user-add.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ EXAMPLES:
Enter Secret Key: foobar12345
3. Add a new user 'foobar' to MinIO server using piped keys.
{{.DisableHistory}}
{{.Prompt}} echo "foobar\nfoobar12345" | {{.HelpName}} myminio
{{.Prompt}} echo -e "foobar\nfoobar12345" | {{.HelpName}} myminio
{{.EnableHistory}}
`,
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/config-host-add.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ EXAMPLES:
5. Add Amazon S3 storage service under "mys3" alias using piped keys.
{{.DisableHistory}}
{{.Prompt}} echo "BKIKJAA5BMMU2RHO6IBB\nV8f1CwQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr12" | \
{{.Prompt}} echo -e "BKIKJAA5BMMU2RHO6IBB\nV8f1CwQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr12" | \
{{.HelpName}} mys3 https://s3.amazonaws.com --api "s3v4" --lookup "dns"
{{.EnableHistory}}
`,
Expand Down
2 changes: 1 addition & 1 deletion docs/minio-admin-complete-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Alias is simply a short name to your MinIO service. MinIO end-point, access and
2. Keys by pipe

```
echo "BKIKJAA5BMMU2RHO6IBB\nV7f1CwQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr12" | \
echo -e "BKIKJAA5BMMU2RHO6IBB\nV7f1CwQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr12" | \
mc config host add minio http://192.168.1.51:9000
```

Expand Down
2 changes: 1 addition & 1 deletion docs/minio-client-complete-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ mc config host add gcs https://storage.googleapis.com BKIKJAA5BMMU2RHO6IBB V8f1
2. Pipe

```
echo "BKIKJAA5BMMU2RHO6IBB\nV7f1CwQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr12" | \
echo -e "BKIKJAA5BMMU2RHO6IBB\nV7f1CwQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr12" | \
mc config host add minio http://192.168.1.51 --api S3v4
```

Expand Down

0 comments on commit fa277f0

Please sign in to comment.