diff --git a/components/cli/opts/ip.go b/components/cli/opts/ip.go index c7b0dc9947..fb03b50111 100644 --- a/components/cli/opts/ip.go +++ b/components/cli/opts/ip.go @@ -40,3 +40,8 @@ func (o *IPOpt) String() string { } return o.IP.String() } + +// Type returns the type of the option +func (o *IPOpt) Type() string { + return "ip" +}