summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 5f00577..81efe21 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -6,6 +6,7 @@ use std::error::Error;
use std::process::Command;
use clap::{Parser, Subcommand};
use nom::number::complete::float;
+use pager::Pager;
use serde_derive::{Serialize, Deserialize};
use toml;
@@ -230,6 +231,8 @@ fn log_with_results(repo: &git2::Repository,
}
fn list_tests(repo: &git2::Repository, head: &Option<String>) {
+ Pager::with_pager("less -FRX").setup();
+
let results = results_read(RESULTS).unwrap();
let log = log_with_results(repo, head, &results).unwrap();