From 42a0c2e5184243eeeb3e28234e1dee762ba05aee Mon Sep 17 00:00:00 2001 From: LinkChou Date: Mon, 16 Oct 2023 14:31:52 +0800 Subject: [PATCH] correct tips in main.rs --- src/bin/rimage/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/rimage/main.rs b/src/bin/rimage/main.rs index bee3db2e..6c07f668 100644 --- a/src/bin/rimage/main.rs +++ b/src/bin/rimage/main.rs @@ -35,7 +35,7 @@ fn main() -> Result<(), Box> { arg!(-b --backup "Appends \".backup\" suffix to input file(s) extension") .action(ArgAction::SetTrue), #[cfg(feature = "parallel")] - arg!(-t --threads "Number of threads to use [default: number of cores]") + arg!(-t --threads "Number of threads to use\n[default: number of cores]") .value_parser(value_parser!(usize)), ]) .next_help_heading("Quantization") @@ -53,7 +53,7 @@ fn main() -> Result<(), Box> { .value_parser(value_parser!(usize)), arg!(--height "Resize image with specified height\n[integer only]") .value_parser(value_parser!(usize)), - arg!(--filter "Filter used for image resizing\n[possible values: point, triangle, catrom, mitchell] [default: lanczos3]") + arg!(--filter "Filter used for image resizing\n[possible values: point, triangle, catrom, mitchell]") .value_parser(ResizeType::from_str) .default_value("lanczos3") ])