1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00

Update usage and help to (almost) match the existing docker behaviour

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 17b3d05419
Component: cli
This commit is contained in:
Daniel Nephin
2016-05-16 17:20:29 -04:00
committed by Vincent Demeester
parent b3d34e0946
commit a81f1c609e

View File

@@ -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 {