From ea746da96c1f6d141045cbbf111d23ae4b918d1f Mon Sep 17 00:00:00 2001 From: Josh Holmer Date: Mon, 13 Jul 2020 04:36:27 -0400 Subject: [PATCH] Readd the --force flag to the CLI This was still present in the lib and options parsing, but was not in the Clap args list for some reason. --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.rs b/src/main.rs index 267c19c6..4b5cd2b8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -194,6 +194,9 @@ fn main() { .arg(Arg::with_name("fix") .help("Enable error recovery") .long("fix")) + .arg(Arg::with_name("force") + .help("Write the output even if it is larger than the input") + .long("force")) .arg(Arg::with_name("zopfli") .help("Use the slower but better compressing Zopfli algorithm, overrides zlib-specific options") .short("Z")