Add --pager option

This commit is contained in:
Park Juhyung authored and David Peter committed 2018-10-21 22:42:11 +02:00
1 parent b22a9f8fe3
commit 154186a58d
4 files changed
+29 -10

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ impl<'b> Controller<'b> {
}
pub fn run(&self) -> Result<bool> {
let mut output_type = OutputType::from_mode(self.config.paging_mode)?;
let mut output_type = OutputType::from_mode(self.config.paging_mode, self.config.pager)?;
let writer = output_type.handle()?;
let mut no_errors: bool = true;