mirror of https://github.com/docker/cli.git
Convert dockerd to use cobra and pflag
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
63d756f347
commit
ac76967dba
|
@ -40,3 +40,8 @@ func (o *IPOpt) String() string {
|
||||||
}
|
}
|
||||||
return o.IP.String()
|
return o.IP.String()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Type returns the type of the option
|
||||||
|
func (o *IPOpt) Type() string {
|
||||||
|
return "ip"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue