Versions in this module Expand all Collapse all v1 v1.0.0 Mar 12, 2024 Changes in this version + const Default + const NameAsShorthand + const ShorthandOnly + type Flag struct + Args []string + Prefix string + func (f Flag) Consumes(arg string) bool + func (f Flag) Definition() string + func (f Flag) IsOptarg() bool + func (f Flag) IsRepeatable() bool + func (f Flag) Mode() mode + func (f Flag) Nargs() int + func (f Flag) OptargDelimiter() rune + func (f Flag) Required() bool + func (f Flag) Style() string + func (f Flag) TakesValue() bool + type FlagSet struct + func (f *FlagSet) VisitAll(fn func(*Flag)) + func (f FlagSet) IsInterspersed() bool + func (f FlagSet) IsMutuallyExclusive(flag *pflag.Flag) bool + func (f FlagSet) IsPosix() bool + func (f FlagSet) IsShorthandSeries(arg string) bool + func (fs FlagSet) LookupArg(arg string) (result *Flag) + func (fs FlagSet) ShorthandLookup(name string) *Flag