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 <andrew@digerati.co.nz>
This commit is contained in:
Winterhuman 2023-09-25 20:43:38 +00:00 committed by GitHub
parent b6a238c67a
commit fa47c82617
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)),