diff --git a/README.md b/README.md index 9c41e644..7e3a213f 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ All options are case-sensitive. \* Note that oxipng is not a brute-force optimizer. This means that while higher optimization levels are almost always better or equal to lower levels, this is not guaranteed and it is possible in rare circumstances that a lower level may give a marginally smaller output. Similarly, using Zopfli -compression (`-Z`) is not guaranteed to always be better than without. +compression (`-z`) is not guaranteed to always be better than without. ## Git integration via [pre-commit] diff --git a/src/cli.rs b/src/cli.rs index 451dd349..8977cf99 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -324,7 +324,8 @@ be processed successfully.") .long_help("\ Use the much slower but stronger Zopfli compressor for main compression trials. \ Recommended use is with '-o max' and '--fast'.") - .short('Z') + .short('z') + .short_alias('Z') // Kept for backwards compatibility .long("zopfli") .action(ArgAction::SetTrue), )