Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 15528b2

Browse files
committed
Fix catbat pager typo.
`bat` is known as `batcat` on Ubuntu and Debian, not `catbat`.
1 parent a1f2999 commit 15528b2

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_driver_impl/src

1 file changed

+1
-1
lines changed

compiler/rustc_driver_impl/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ fn show_md_content_with_pager(content: &str, color: ColorConfig) {
580580
cmd.arg("-R");
581581
true
582582
} else {
583-
["bat", "catbat", "delta"].iter().any(|v| *v == pager_name)
583+
["bat", "batcat", "delta"].iter().any(|v| *v == pager_name)
584584
};
585585

586586
if color == ColorConfig::Never {

0 commit comments

Comments
 (0)