Fix help for cp and head commands (#3418)
This commit is contained in:
+2
-2
@@ -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/
|
||||
|
||||
`,
|
||||
}
|
||||
|
||||
@@ -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
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user