Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct tips in main.rs #130

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading