mirror of https://github.com/docker/cli.git
Add zsh completion for 'docker stats --all -a'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
parent
1a495e2d47
commit
661cab4af3
|
@ -840,6 +840,7 @@ __docker_subcommand() {
|
||||||
(stats)
|
(stats)
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
$opts_help \
|
$opts_help \
|
||||||
|
"($help -a --all)"{-a,--all}"[Show all containers (default shows just running)]" \
|
||||||
"($help)--no-stream[Disable streaming stats and only pull the first result]" \
|
"($help)--no-stream[Disable streaming stats and only pull the first result]" \
|
||||||
"($help -)*:containers:__docker_runningcontainers" && ret=0
|
"($help -)*:containers:__docker_runningcontainers" && ret=0
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue