@@ -40,7 +40,7 @@ impl OutputType {
4040
4141 let mut process = if is_less {
4242 let mut p = Command::new(&pager_path);
43− if pagerflags.len() == 1 {
43+ if args.is_empty() {
4444 p.args(vec!["--RAW-CONTROL-CHARS", "--no-init"]);
4545 if quit_if_one_screen {
4646 p.arg("--quit-if-one-screen");