@@ -222,7 +222,7 @@ impl<'a> InteractivePrinter<'a> {
222222impl<'a> Printer for InteractivePrinter<'a> {
223223 fn print_header(&mut self, handle: &mut dyn Write, file: InputFile) -> Result<()> {
224224 if !self.config.output_components.header() {
225− if Some(ContentType::BINARY) == self.content_type {
225+ if Some(ContentType::BINARY) == self.content_type && !self.config.show_nonprintable {
226226 let input = match file {
227227 InputFile::Ordinary(filename) => format!("file '{}'", filename),
228228 _ => "STDIN".into(),