Skip to content

Commit

Permalink
command/cp: remove misleading "mirroring" in help text (#248)
Browse files Browse the repository at this point in the history
Resolves #213
  • Loading branch information
sonmezonur authored Nov 5, 2020
1 parent 6eb2302 commit 6727f39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- AWS S3 `RequestTimeTooSkewed` request error was not retryable before, it is now. ([205](https://github.com/peak/s5cmd/issues/205))
- For some operations errors were printed at the end of the program execution. Now, errors are displayed immediately after being detected. ([#136](https://github.com/peak/s5cmd/issues/136))
- From now on, docker images will be published on Docker Hub. ([#238](https://github.com/peak/s5cmd/issues/238))
- Changed misleading 'mirroring' examples in the help text of `cp`. ([#213](https://github.com/peak/s5cmd/issues/213))

#### Bugfixes
- Fixed incorrect MIME type inference for `cp`, give priority to file extension for type inference. ([#214](https://github.com/peak/s5cmd/issues/214))
Expand Down
4 changes: 2 additions & 2 deletions command/cp.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ Examples:
08. Copy matching S3 objects to another bucket
> s5cmd {{.HelpName}} s3://bucket/*.gz s3://target-bucket/prefix/
09. Mirror a directory to target S3 prefix
09. Copy files in a directory to S3 prefix if not found on target
> s5cmd {{.HelpName}} -n -s -u dir/ s3://bucket/target-prefix/
10. Mirror an S3 prefix to target S3 prefix
10. Copy files in an S3 prefix to another S3 prefix if not found on target
> s5cmd {{.HelpName}} -n -s -u s3://bucket/source-prefix/* s3://bucket/target-prefix/
11. Perform KMS Server Side Encryption of the object(s) at the destination
Expand Down

0 comments on commit 6727f39

Please sign in to comment.