1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-02-27 15:28:43 +00:00

Fix typo in unreachable!(..) message for --wrap

This commit is contained in:
Martin Nordholts 2021-08-07 22:15:51 +02:00
parent 47d955a2ab
commit 5236ed135e

View File

@ -158,7 +158,7 @@ impl App {
WrappingMode::Character WrappingMode::Character
} }
} }
_ => unreachable!("other values for --paging are not allowed"), _ => unreachable!("other values for --wrap are not allowed"),
} }
} else { } else {
// We don't have the tty width when piping to another program. // We don't have the tty width when piping to another program.