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

fix: reset flags' value to default if flags have been parsed #2080

Closed
wants to merge 2 commits into from

Conversation

levisyin
Copy link

close #2079

@CLAassistant
Copy link

CLAassistant commented Nov 26, 2023

CLA assistant check
All committers have signed the CLA.

@marckhouzam
Copy link
Collaborator

To avoid any risk backwards-compatibility problems in existing projects, we will not fix this.
Users of Cobra can fix this themselves in their own code.
See #2079 (comment)

@marckhouzam marckhouzam added the lifecycle/wont-do For issues and PRs the community has determined are not a priority and will not execute against label Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/wont-do For issues and PRs the community has determined are not a priority and will not execute against
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] SetArgs doesn't reset flag value
3 participants