This commit is contained in:
Sharif Haason authored and David Peter committed 2022-09-11 21:45:06 +02:00
1 parent 8c7c3a073c
commit 6b062ba127
1 file changed
+1 -1
+1 -1
View File
@@ -323,7 +323,7 @@ fn run() -> Result<(), AnyhowError> {
.value_of("terminal_width") .value_of("terminal_width")
.map(|s| { .map(|s| {
s.parse::<NonZeroU16>().map(u16::from).context(anyhow!( s.parse::<NonZeroU16>().map(u16::from).context(anyhow!(
"failed to parse `--columns` arg {:?} as unsigned nonzero integer", "failed to parse `--terminal-width` arg {:?} as unsigned nonzero integer",
s s
)) ))
}) })