Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

numfmt: show error if --padding is zero #3686

Merged
merged 1 commit into from
Jul 1, 2022

Conversation

cakebaker
Copy link
Contributor

GNU numfmt shows an "invalid padding error" when using --padding=0 whereas uutils numfmt doesn't.

This PR adds the same behavior and makes the tests pad-3 and pad-3.1 in https:/coreutils/coreutils/blob/master/tests/misc/numfmt.pl pass.

@sylvestre sylvestre merged commit 64bc20c into uutils:main Jul 1, 2022
@cakebaker cakebaker deleted the show_error_if_padding_is_zero branch July 1, 2022 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants