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