mirror of
https://github.com/sharkdp/bat
synced 2026-07-24 17:13:19 +00:00
simplify: just never warn for less (universal default)
This commit is contained in:
+1
-1
@@ -105,7 +105,7 @@ impl OutputType {
|
||||
let resolved_path = match grep_cli::resolve_binary(&pager.bin) {
|
||||
Ok(path) => path,
|
||||
Err(_) => {
|
||||
if pager.source != PagerSource::Default && pager.bin != "less" {
|
||||
if pager.bin != "less" {
|
||||
crate::bat_warning!(
|
||||
"Pager '{}' not found, outputting to stdout instead",
|
||||
pager.bin
|
||||
|
||||
Reference in New Issue
Block a user