Skip to content

Commit

Permalink
Merge pull request #130 from Mikachu2333/main
Browse files Browse the repository at this point in the history
correct tips in main.rs
  • Loading branch information
SalOne22 committed Oct 16, 2023
2 parents 87b9243 + 42a0c2e commit 25ea7a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/rimage/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fn main() -> Result<(), Box<dyn Error>> {
arg!(-b --backup "Appends \".backup\" suffix to input file(s) extension")
.action(ArgAction::SetTrue),
#[cfg(feature = "parallel")]
arg!(-t --threads <NUM> "Number of threads to use [default: number of cores]")
arg!(-t --threads <NUM> "Number of threads to use\n[default: number of cores]")
.value_parser(value_parser!(usize)),
])
.next_help_heading("Quantization")
Expand All @@ -53,7 +53,7 @@ fn main() -> Result<(), Box<dyn Error>> {
.value_parser(value_parser!(usize)),
arg!(--height <HEIGHT> "Resize image with specified height\n[integer only]")
.value_parser(value_parser!(usize)),
arg!(--filter <FILTER> "Filter used for image resizing\n[possible values: point, triangle, catrom, mitchell] [default: lanczos3]")
arg!(--filter <FILTER> "Filter used for image resizing\n[possible values: point, triangle, catrom, mitchell]")
.value_parser(ResizeType::from_str)
.default_value("lanczos3")
])
Expand Down

0 comments on commit 25ea7a3

Please sign in to comment.