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
2017-05-15 11:57:19 +02:00
committed by Vincent Demeester
parent 68e6f77ee4
commit d94e1f7806
+5
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"
}