From 17b3d05419453a83e9f84911214888bd3c99ba5a Mon Sep 17 00:00:00 2001 From: Daniel Nephin Date: Mon, 16 May 2016 17:20:29 -0400 Subject: [PATCH] Update usage and help to (almost) match the existing docker behaviour Signed-off-by: Daniel Nephin --- opts/opts.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/opts/opts.go b/opts/opts.go index 05d5497161..e1d3c2db15 100644 --- a/opts/opts.go +++ b/opts/opts.go @@ -100,6 +100,11 @@ func (opts *ListOpts) Len() int { return len((*opts.values)) } +// Type returns a string name for this Option type +func (opts *ListOpts) Type() string { + return "list" +} + // NamedOption is an interface that list and map options // with names implement. type NamedOption interface {