Convert dockerd to use cobra and pflag

Signed-off-by: Daniel Nephin <dnephin@docker.com>
master
Daniel Nephin 2016-06-21 16:42:47 -04:00 committed by Vincent Demeester
parent 63d756f347
commit ac76967dba
1 changed files with 5 additions and 0 deletions

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