From d94e1f78068bc13b0f92e19f0c7174cc565aa71e Mon Sep 17 00:00:00 2001 From: Daniel Nephin Date: Tue, 21 Jun 2016 16:42:47 -0400 Subject: [PATCH] Convert dockerd to use cobra and pflag Signed-off-by: Daniel Nephin Upstream-commit: ac76967dbac4e98ffea03a2a1f35a322a4cc88de Component: cli --- components/cli/opts/ip.go | 5 +++++ 1 file changed, 5 insertions(+) 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" +}