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

This commit is contained in:
Martin Nordholts committed 2021-08-08 06:40:18 +02:00
1 parent 47d955a2ab
commit 5236ed135e
1 file changed
+1 -1
+1 -1
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.