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

Function StringArrayP

string_array.go:123–125  ·  view source on GitHub ↗

StringArrayP is like StringArray, but accepts a shorthand letter that can be used after a single dash.

(name, shorthand string, value []string, usage string)

Source from the content-addressed store, hash-verified

121
122// StringArrayP is like StringArray, but accepts a shorthand letter that can be used after a single dash.
123func StringArrayP(name, shorthand string, value []string, usage string) *[]string {
124 return CommandLine.StringArrayP(name, shorthand, value, usage)
125}

Callers

nothing calls this directly

Calls 1

StringArrayPMethod · 0.80

Tested by

no test coverage detected