@@ -143,7 +143,10 @@ impl App {
143143 Some("always") => PagingMode::Always,
144144 Some("never") => PagingMode::Never,
145145 Some("auto") | _ => {
146− if files.contains(&InputFile::StdIn) {
146+ if self.matches.occurrences_of("plain") > 1 {
147+ // If we have -pp as an option when in auto mode, the pager should be disabled.
148+ PagingMode::Never
149+ } else if files.contains(&InputFile::StdIn) {
147150 // If we are reading from stdin, only enable paging if we write to an
148151 // interactive terminal and if we do not *read* from an interactive
149152 // terminal.