From fa47c82617c8840c5d2297d3b86d8731ee9ec82b Mon Sep 17 00:00:00 2001 From: Winterhuman <86165318+Winterhuman@users.noreply.github.com> Date: Mon, 25 Sep 2023 20:43:38 +0000 Subject: [PATCH] Add `--timeout` notice (#557) Closes: https://github.com/shssoichiro/oxipng/issues/556 Adds a statement saying that `--timeout` isn't as useful for compression algorithms which use fewer and slower rounds, which OxiPNG tends to use nowadays. --------- Co-authored-by: andrews05 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index a83e4464..db1eabe2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -257,7 +257,7 @@ fn main() { ) .arg( Arg::new("timeout") - .help("Maximum amount of time, in seconds, to spend on optimizations") + .help("Maximum amount of time, in seconds, to spend on optimizations (currently of limited use due to the shift away from zlib)") .value_name("secs") .long("timeout") .value_parser(value_parser!(u64)),