Skip to content

Commit e7531e8

Browse files
authored
Update pr.rs
1 parent 7cf5d5c commit e7531e8

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/uu/pr/src/pr.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -779,15 +779,11 @@ fn build_options(
779779

780780
let column_option_value = match parse_usize(matches, options::COLUMN) {
781781
Some(Ok(0)) => {
782-
// if --column is zero, exit with code 1.
783782
return Err(PrError::EncounteredErrors {
784783
msg: "invalid -column argument '0'".to_string(),
785784
});
786785
}
787-
Some(res) => {
788-
println!("{:?}", res);
789-
Some(res?)
790-
}
786+
Some(res) => Some(res?),
791787
None => start_column_option,
792788
};
793789

0 commit comments

Comments
 (0)