about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-11-20 10:34:42 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-11-21 08:21:01 +1100
commit15528b2d6c2d7d83d007440ab84d859bc60ab40d (patch)
tree1ab25695ced7d594c5513236c3df0fab213e9472
parenta1f299953656f95004c69b24ad8071d6899fa9da (diff)
downloadrust-15528b2d6c2d7d83d007440ab84d859bc60ab40d.tar.gz
rust-15528b2d6c2d7d83d007440ab84d859bc60ab40d.zip
Fix `catbat` pager typo.
`bat` is known as `batcat` on Ubuntu and Debian, not `catbat`.
-rw-r--r--compiler/rustc_driver_impl/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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 {