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

pkg: flagcodec: enable flag normalization #258

Conversation

ffromani
Copy link
Collaborator

Following the conventions outlined in RATIONALE.md, the pflag packages allows using both --v and -v (double or single dashes for single-letter flags), but the flagcodec package wasn't behaving the same, treating the two flags as different.

We add options to conform to our own rationale and to be more compatible with pflag.

Following the conventions outlined in RATIONALE.md,
the pflag packages allows using both `--v` and `-v`
(double or single dashes for single-letter flags), but
the flagcodec package  wasn't behaving the same, treating
the two flags as different.

We add options to conform to our own rationale and to
be more compatible with pflag.

Signed-off-by: Francesco Romani <[email protected]>
@ffromani ffromani merged commit 5f9ae4f into k8stopologyawareschedwg:release-0.18 Nov 29, 2023
1 check passed
@ffromani ffromani deleted the flagcodec-flag-compat-0.18 branch November 29, 2023 16:41
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.

1 participant