1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-01-31 02:01:05 +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
}
}
_ => 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.