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

Disallow zero values for CLI arguments where they don't make sense #181

Merged
merged 1 commit into from
Aug 18, 2024

Conversation

56quarters
Copy link
Owner

@56quarters 56quarters commented Aug 18, 2024

Use stdlib NonZero types to enforce that 0 isn't a valid value for some CLI flags (timeouts, number of connections/iterations).

Fixes #180

@56quarters 56quarters marked this pull request as ready for review August 18, 2024 00:18
Use stdlib NonZero types to enforce that `0` isn't a valid value for some
CLI flags (timeouts, number of connections/iterations).

Fixes #180
@56quarters 56quarters merged commit 3cf2192 into master Aug 18, 2024
6 checks passed
@56quarters 56quarters deleted the zero branch August 18, 2024 00:20
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.

Handle edge cases in CLI parsing
1 participant