Skip to content

Commit 1c5cc45

Browse files
committed
Update CHANGELOG.md, info msg & a comment
1 parent 453af7d commit 1c5cc45

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
## [0.2.0] - 2024-
10+
## [0.2.0] - 2024-01-30
1111

1212
### Added
1313

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ If satisfied with the result, original images can be deleted afterwards easily t
3535
- A minimum file size for which a user would like to perform file size reduction: `-s {s,m,l,S,M,L}`, `--size {s,m,l,S,M,L}`
3636
- S = 100 kB, M = 500 kB, L = 1 MB
3737
- Files that are smaller than the designated size will simply be copied to the destination folder.
38-
- If this option is left out, then all files are considered for size reduction; i.e., minimal size is 0.
38+
- If this option is left out, then all files are considered for size reduction; i.e., minimal considered size is 0.
3939

4040
### Examples
4141
See below for how to prepare the application for running.

src/logic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ pub fn process_images(
295295
let file_size = src_path.metadata().expect("Expected file metadata.").len();
296296
let extension = src_path.extension();
297297

298-
// Copy or skip a file if it is not big enough, or has no extension, or if its extension is not supported.
298+
// Copy or skip a file if it is not large enough, or has no extension, or if its extension is not supported.
299299
if file_size >= size && extension.is_some() {
300300
match extension.unwrap().to_string_lossy().to_lowercase().as_str() {
301301
"jpg" | "jpeg" => {

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ fn main() {
5454
println!("\nTook {:.3?} to complete.", start.elapsed());
5555

5656
if has_error {
57-
println!("\nThere were some ERRORS and some files were skipped.");
57+
println!("\nThere were some ERRORS and some files were SKIPPED.");
5858
println!("It was not possible to reduce their size OR to copy them.");
5959
println!("Please review the [ERROR] messages so you don't potentially lose those files.\n");
6060
}

0 commit comments

Comments
 (0)