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:
committed by
Vincent Demeester
parent
b3d34e0946
commit
a81f1c609e
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user