Fix help for cp and head commands (#3418)

This commit is contained in:
Anis Elleuch
2020-09-30 16:06:38 -07:00
committed by GitHub
parent 2568f9e7bf
commit 177f15db2e
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -183,8 +183,8 @@ EXAMPLES:
18. Copy a text file to an object storage and disable multipart upload feature.
{{.Prompt}} {{.HelpName}} --disable-multipart myobject.txt play/mybucket
19. Pick versions while copying objects at a specific date/time in the past if the bucket versioning is enabled.
{{.Prompt}} {{.HelpName}} --rewind 10d myobject.txt play/mybucket
19. Roll back 10 days in the past to copy the content of 'mybucket'
{{.Prompt}} {{.HelpName}} --rewind 10d -r play/mybucket/ /tmp/dest/
`,
}
+3
View File
@@ -82,6 +82,9 @@ EXAMPLES:
3. Display only first line from server encrypted object on Amazon S3. In case the encryption key contains non-printable character like tab, pass the
base64 encoded string as key.
{{.Prompt}} {{.HelpName}} --encrypt-key "s3/json-data=MzJieXRlc2xvbmdzZWNyZXRrZQltdXN0YmVnaXZlbjE=" s3/json-data/population.json
4. Display the first lines of a specific object version.
{{.Prompt}} {{.HelpName}} --version-id "3ddac055-89a7-40fa-8cd3-530a5581b6b8" s3/json-data/population.json
`,
}