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

Method Parsed

flag.go:1232–1234  ·  view source on GitHub ↗

Parsed reports whether f.Parse has been called.

()

Source from the content-addressed store, hash-verified

1230
1231// Parsed reports whether f.Parse has been called.
1232func (f *FlagSet) Parsed() bool {
1233 return f.parsed
1234}
1235
1236// Parse parses the command-line flags from os.Args[1:]. Must be called
1237// after all flags are defined and before flags are accessed by the program.

Callers 10

TestShorthandFunction · 0.95
TestShorthandLookupFunction · 0.95
TestTerminationFunction · 0.95
TestGoflagsFunction · 0.95
testParseFunction · 0.80
testParseAllFunction · 0.80
ParsedFunction · 0.80

Calls

no outgoing calls

Tested by 9

TestShorthandFunction · 0.76
TestShorthandLookupFunction · 0.76
TestTerminationFunction · 0.76
TestGoflagsFunction · 0.76
testParseFunction · 0.64
testParseAllFunction · 0.64