summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Nordholts <enselic@gmail.com>2021-08-07 22:15:51 +0200
committerMartin Nordholts <enselic@gmail.com>2021-08-08 06:40:18 +0200
commit5236ed135e56bff956162bedf442c480521e6b54 (patch)
tree891684cc77e806a16abf1d206fe18894628322ae
parent47d955a2ab1ae93141abea1bb6348c39856f87c7 (diff)
Fix typo in unreachable!(..) message for --wrap
-rw-r--r--src/bin/bat/app.rs2
1 files changed, 1 insertions, 1 deletions
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.