1
0
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:
Ian Maloney
2026-02-19 22:49:02 +00:00
parent a240aa4afd
commit 2c1a8caadd
+1 -1
View File
@@ -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