MCPcopy
hub / github.com/spf13/pflag / normalizeFlagName

Method normalizeFlagName

flag.go:276–279  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

274}
275
276func (f *FlagSet) normalizeFlagName(name string) NormalizedName {
277 n := f.GetNormalizeFunc()
278 return n(f, name)
279}
280
281// Output returns the destination for usage and error messages. os.Stderr is returned if
282// output was not set or was set to nil.

Callers 6

SetNormalizeFuncMethod · 0.95
LookupMethod · 0.95
SetMethod · 0.95
SetAnnotationMethod · 0.95
AddFlagMethod · 0.95
parseLongArgMethod · 0.95

Calls 1

GetNormalizeFuncMethod · 0.95

Tested by

no test coverage detected