Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

IsSet crashes on unknown option names #16

Open
jfesler opened this issue Dec 8, 2019 · 0 comments
Open

IsSet crashes on unknown option names #16

jfesler opened this issue Dec 8, 2019 · 0 comments

Comments

@jfesler
Copy link

jfesler commented Dec 8, 2019

Querying (*Set).IsSet() for a flag name not actually defined causes a nil ptr crash instead of returning false.

I'm unable to provide demo code (much less a fix) due to CLA conflicts; hopefully this is enough of a report. I'm working around it for now by using .VisitAlI().

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

No branches or pull requests

1 participant