Convert dockerd to use cobra and pflag

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: ac76967dba
Component: cli
This commit is contained in:
Daniel Nephin
2016-06-21 16:42:47 -04:00
committed by Vincent Demeester
parent 68e6f77ee4
commit d94e1f7806

View File

@ -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"
}