You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I spent a bit scratching my head trying to figure out why my flags weren't being set/parsed correctly. The issue was that I was using f := pflag.FlagSet{} instead of f := pflag.NewFlagSet(...)
Making an interface would be a simple way to make the behavior more obvious. Thanks!
The text was updated successfully, but these errors were encountered:
I spent a bit scratching my head trying to figure out why my flags weren't being set/parsed correctly. The issue was that I was using
f := pflag.FlagSet{}
instead off := pflag.NewFlagSet(...)
Making an interface would be a simple way to make the behavior more obvious. Thanks!
The text was updated successfully, but these errors were encountered: