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

Method Args

flag.go:836–836  ·  view source on GitHub ↗

Args returns the non-flag arguments.

()

Source from the content-addressed store, hash-verified

834
835// Args returns the non-flag arguments.
836func (f *FlagSet) Args() []string { return f.args }
837
838// Args returns the non-flag command-line arguments.
839func Args() []string { return CommandLine.args }

Callers 6

TestShorthandFunction · 0.95
TestParseRepeatedFunction · 0.95
TestNoInterspersedFunction · 0.95
TestTerminationFunction · 0.95
testParseFunction · 0.80

Calls

no outgoing calls

Tested by 6

TestShorthandFunction · 0.76
TestParseRepeatedFunction · 0.76
TestNoInterspersedFunction · 0.76
TestTerminationFunction · 0.76
testParseFunction · 0.64