From aa65743e4ebdfe8c5b96aaef53bdafd4715e81df Mon Sep 17 00:00:00 2001 From: Spyros Roum Date: Fri, 15 Oct 2021 02:44:34 +0300 Subject: [PATCH] Add some `info!` for the user --- src/commands.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/commands.rs b/src/commands.rs index ae46e5a..1e221ef 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -114,6 +114,11 @@ pub fn run(command: Command, flags: &oof::Flags) -> crate::Result<()> { && input_extensions.len() < formats.len() && input_extensions.iter().zip(&formats).all(|(inp, out)| inp == out) { + info!( + "Partial compression detected. Compressing {} into {}", + to_utf(files[0].as_path().file_name().unwrap()), + to_utf(&output_path) + ); let drain_iter = formats.drain(..input_extensions.len()); drop(drain_iter); // Remove the extensions from `formats` }