Fix typo in unreachable!(..) message for --wrap
commit5236ed135e56bff956162bedf442c480521e6b54
authorMartin Nordholts <enselic@gmail.com>
dateSat 7 Aug 2021, 22:15 (5 years ago)
parent47d955a
src/bin/bat/app.rs+1−1
@@ -158,7 +158,7 @@ impl App {
158158 WrappingMode::Character
159159 }
160160 }
161− _ => unreachable!("other values for --paging are not allowed"),
161+ _ => unreachable!("other values for --wrap are not allowed"),
162162 }
163163 } else {
164164 // We don't have the tty width when piping to another program.