Skip to content

Conversation

@kishen-v
Copy link
Contributor

@kishen-v kishen-v commented Jan 6, 2026

What type of PR is this?

  • bug

What this PR does / why we need it:

This PR addresses the issue described in #44. With the changes proposed, a string is accepted as two parts, retaining any : that may be present in the value, thereby allowing more flexibility.

Which issue(s) this PR fixes:

#44

Release Notes

Use SplitN for map flags to support values containing separators

@kishen-v kishen-v requested a review from a team as a code owner January 6, 2026 08:00
Copy link
Member

@yassinebenaid yassinebenaid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutely cool. Thank you @kishen-v.

Would you add a test for this case. 🙏

@kishen-v
Copy link
Contributor Author

kishen-v commented Jan 6, 2026

Hey @yassinebenaid,

Thank you for reviewing the changes. I have added a supporting test case to validate the same.

Please let me know if there are any further changes required.

Copy link
Member

@yassinebenaid yassinebenaid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🔥 🔥 🔥

Thank you @kishen-v.

@yassinebenaid yassinebenaid merged commit 680a267 into urfave:main Jan 6, 2026
9 checks passed
@kishen-v kishen-v deleted the prevent-valsplit branch January 7, 2026 08:20
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