From 15528b2d6c2d7d83d007440ab84d859bc60ab40d Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Wed, 20 Nov 2024 10:34:42 +1100 Subject: [PATCH] Fix `catbat` pager typo. `bat` is known as `batcat` on Ubuntu and Debian, not `catbat`. --- compiler/rustc_driver_impl/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs index 8dd043be6ad..038a0d6c288 100644 --- a/compiler/rustc_driver_impl/src/lib.rs +++ b/compiler/rustc_driver_impl/src/lib.rs @@ -580,7 +580,7 @@ fn show_md_content_with_pager(content: &str, color: ColorConfig) { cmd.arg("-R"); true } else { - ["bat", "catbat", "delta"].iter().any(|v| *v == pager_name) + ["bat", "batcat", "delta"].iter().any(|v| *v == pager_name) }; if color == ColorConfig::Never {