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

Function CountP

count.go:94–96  ·  view source on GitHub ↗

CountP is like Count only takes a shorthand for the flag name.

(name, shorthand string, usage string)

Source from the content-addressed store, hash-verified

92
93// CountP is like Count only takes a shorthand for the flag name.
94func CountP(name, shorthand string, usage string) *int {
95 return CommandLine.CountP(name, shorthand, usage)
96}

Callers

nothing calls this directly

Calls 1

CountPMethod · 0.80

Tested by

no test coverage detected