cobra
cobra copied to clipboard
Copy parsed flag values when constructing `LocalFlags()`
This checks in the failing test that #1019 references, and proposes a fix to LocalFlags()
not copying information about whether a flag has been parsed or not.
If preferable, I can open a PR against spf13/pflag to change flagSet.AddFlag
to copy the fact that a flag already has a value instead of performing that logic here.
This PR is being marked as stale due to a long period of inactivity
Pinging this, CLA is signed
I'm so sorry its taken so long to respond to this PR. We are actively trying to tackle the backlog.