Add zsh completion for 'docker stats --all -a'

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: ba2a5a420d6adf5ab7cd861d1c263dc8b74c7773
Component: engine
This commit is contained in:
Steve Durrheimer
2015-11-10 08:47:46 +01:00
parent b05f4e5488
commit e9d65a16e5
@@ -840,6 +840,7 @@ __docker_subcommand() {
(stats)
_arguments $(__docker_arguments) \
$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 -)*:containers:__docker_runningcontainers" && ret=0
;;