MCPcopy
hub / github.com/owenthereal/ccat / Parse

Function Parse

Godeps/_workspace/src/github.com/spf13/pflag/flag.go:653–656  ·  view source on GitHub ↗

Parse parses the command-line flags from os.Args[1:]. Must be called after all flags are defined and before flags are accessed by the program.

()

Source from the content-addressed store, hash-verified

651// Parse parses the command-line flags from os.Args[1:]. Must be called
652// after all flags are defined and before flags are accessed by the program.
653func Parse() {
654 // Ignore errors; CommandLine is set for ExitOnError.
655 CommandLine.Parse(os.Args[1:])
656}
657
658// Whether to support interspersed option/non-option arguments.
659func SetInterspersed(interspersed bool) {

Callers 1

TestChangingArgsFunction · 0.85

Calls 1

ParseMethod · 0.80

Tested by 1

TestChangingArgsFunction · 0.68