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

pflag: add integral-slice and uintptr support #86

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

dfinkel
Copy link
Contributor

@dfinkel dfinkel commented Jan 29, 2024

Mirroring the flag support, add support for integral-typed flags.

Also, fix a bug in the pflag vistor callback that paniced due to an
incorrect conversion. (exercised via the new the uintptr support)

Mirroring the flag support, add support for integral-typed flags.

Also, fix a bug in the pflag vistor callback that paniced due to an
incorrect conversion. (exercised via the new the uintptr support)
@dfinkel dfinkel force-pushed the flag_integral_type_slice_support branch from 852a1cf to ba90168 Compare January 29, 2024 22:00
Base automatically changed from flag_integral_type_slice_support to master January 29, 2024 22:10
@dfinkel dfinkel merged commit 8efef7f into master Jan 29, 2024
6 checks passed
@dfinkel dfinkel deleted the integral_type_slice_pflags branch January 29, 2024 22:11
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.

3 participants