Skip to content

fix: handle String() round-trip in Set() for stringToString#493

Open
happysnaker wants to merge 1 commit into
spf13:masterfrom
happysnaker:fix-stringtostring-brackets
Open

fix: handle String() round-trip in Set() for stringToString#493
happysnaker wants to merge 1 commit into
spf13:masterfrom
happysnaker:fix-stringtostring-brackets

Conversation

@happysnaker

Copy link
Copy Markdown

Fixes #413. String() wraps output in brackets like [k=v], but Set() didn't strip them, causing round-trip failures when String() output was passed back to Set().

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.

FlagSet.GetStringToString() drops brackets from values

1 participant