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

sort: enforce minimum value of 1 for -F and -y #412

Merged
merged 2 commits into from
Jan 23, 2024

Conversation

mknos
Copy link
Contributor

@mknos mknos commented Jan 19, 2024

  • Basic validation
  • Options -F and -y are non-standard and control allocation limits within sort
  • Currently if the value of zero is given, it is ignored because of truth-test
  • Negative amounts are accepted but don't make sense in the context of a limit size

* Basic validation
* Options -F and -y are non-standard and control allocation limits within sort
* Currently if the value of zero is given, it is ignored because of truth-test
* Negative amounts are accepted but don't make sense in the context of a limit size
@github-actions github-actions bot added Type: enhancement improve a feature that already exists Priority: low get to this whenever Program: sort The sort program labels Jan 19, 2024
bin/sort Outdated Show resolved Hide resolved
bin/sort Outdated Show resolved Hide resolved
@briandfoy briandfoy self-assigned this Jan 19, 2024
@briandfoy briandfoy added the Status: changes requested adjust the pull request as noted in comments label Jan 19, 2024
@briandfoy briandfoy removed the Status: changes requested adjust the pull request as noted in comments label Jan 23, 2024
@briandfoy briandfoy merged commit 7cd51a3 into briandfoy:master Jan 23, 2024
1 check was pending
@briandfoy briandfoy added Status: accepted The fix is accepted Status: released there is a new release with this fix and removed Priority: low get to this whenever Status: accepted The fix is accepted labels Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Program: sort The sort program Status: released there is a new release with this fix Type: enhancement improve a feature that already exists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants