on master help sign in
Fix typo in unreachable!(..) message for --wrap
5236ed1Martin Nordholts
src/bin/bat/app.rs+1−1
@@ -158,7 +158,7 @@ impl App {
158 WrappingMode::Character
158 WrappingMode::Character
159 }
159 }
160 }
160 }
161− _ => unreachable!("other values for --paging are not allowed"),
161+ _ => unreachable!("other values for --wrap are not allowed"),
162 }
162 }
163 } else {
163 } else {
164 // We don't have the tty width when piping to another program.
164 // We don't have the tty width when piping to another program.