From d99e17af75eaf4b3c9aff74114f91363c72378d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Sun, 4 Apr 2021 17:41:31 +0200 Subject: [PATCH] fix logs attachment cmd --- src/msg/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msg/cli.rs b/src/msg/cli.rs index 4d94507..4409c61 100644 --- a/src/msg/cli.rs +++ b/src/msg/cli.rs @@ -229,7 +229,7 @@ pub fn msg_matches(matches: &ArgMatches) -> Result<()> { let attachments = Attachments::from_bytes(&msg)?; match output_fmt { - "text" => { + "plain" => { println!( "{} attachment(s) found for message {}", attachments.0.len(),