MCPcopy
hub / github.com/etcd-io/etcd / IgnoredFlag

Struct IgnoredFlag

pkg/flags/ignored.go:22–25  ·  view source on GitHub ↗

IgnoredFlag encapsulates a flag that may have been previously valid but is now ignored. If an IgnoredFlag is set, a warning is printed and operation continues.

Source from the content-addressed store, hash-verified

20// now ignored. If an IgnoredFlag is set, a warning is printed and
21// operation continues.
22type IgnoredFlag struct {
23 lg *zap.Logger
24 Name string
25}
26
27// IsBoolFlag is defined to allow the flag to be defined without an argument
28func (f *IgnoredFlag) IsBoolFlag() bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected