mirror of https://github.com/docker/cli.git
Update usage and help to (almost) match the existing docker behaviour
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
b9fe270259
commit
17b3d05419
|
@ -100,6 +100,11 @@ func (opts *ListOpts) Len() int {
|
||||||
return len((*opts.values))
|
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
|
// NamedOption is an interface that list and map options
|
||||||
// with names implement.
|
// with names implement.
|
||||||
type NamedOption interface {
|
type NamedOption interface {
|
||||||
|
|
Loading…
Reference in New Issue