pflag
pflag copied to clipboard
flagset.Output() missing from methods
Its in the stdlib flag interface; and when you're doing flagset specific Usage()
functions, you kinda need it if you want to use the same output as the flag.Usage()
...
Nope; its there: just doesn't have a tag.
@yarbelk What do you mean when you say It's there, just does not have a tag
? I can't find the method in FlagSet.
https://github.com/spf13/pflag/blob/d5e0c0615acee7028e1e2740a11102313be88de1/flag.go#L258-L265
In master branch, the Output() method is found. (PR https://github.com/spf13/pflag/pull/220) But latest tagged version v1.0.5 does not include it.
Hey, I use a commit with PR #220 merged extensively in my projects. It would be great to have new tagged version containing it! And this issue closed that way.