diff --git a/components/cli/opts/opts.go b/components/cli/opts/opts.go index 05d5497161..e1d3c2db15 100644 --- a/components/cli/opts/opts.go +++ b/components/cli/opts/opts.go @@ -100,6 +100,11 @@ func (opts *ListOpts) Len() int { return len((*opts.values)) } +// Type returns a string name for this Option type +func (opts *ListOpts) Type() string { + return "list" +} + // NamedOption is an interface that list and map options // with names implement. type NamedOption interface {