on master help sign in
Small cleanup
commite43d97dc15985258b03ade549e81ffdedce8c650 authorsharkdp <davidpeter@web.de> dateWed 17 Oct 2018, 21:12 (8 years ago) parent2c7087b
1 file changed+1−1
src/output.rs+1−1
src/output.rs+1−1
@@ -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");