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

Method GetValue

errors.go:130–132  ·  view source on GitHub ↗

GetValue returns the invalid value that was provided.

()

Source from the content-addressed store, hash-verified

128
129// GetValue returns the invalid value that was provided.
130func (e *InvalidValueError) GetValue() string {
131 return e.value
132}
133
134// InvalidSyntaxError is the error returned when a bad flag name is passed on
135// the command line.

Callers 1

TestInvalidValueErrorFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestInvalidValueErrorFunction · 0.76