From 5236ed135e56bff956162bedf442c480521e6b54 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Sat, 7 Aug 2021 22:15:51 +0200 Subject: Fix typo in unreachable!(..) message for --wrap --- src/bin/bat/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/bat/app.rs b/src/bin/bat/app.rs index f7613bbe..f20bd502 100644 --- a/src/bin/bat/app.rs +++ b/src/bin/bat/app.rs @@ -158,7 +158,7 @@ impl App { WrappingMode::Character } } - _ => unreachable!("other values for --paging are not allowed"), + _ => unreachable!("other values for --wrap are not allowed"), } } else { // We don't have the tty width when piping to another program. -- cgit v1.2.3