mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #17857 from sdurrheimer/zsh-completion-stats-all
Add zsh completion for 'docker stats --all -a'
This commit is contained in:
commit
fb2bae5e16
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue