Merge pull request #17857 from sdurrheimer/zsh-completion-stats-all
Add zsh completion for 'docker stats --all -a' Upstream-commit: fb2bae5e162c91175f7cbc654de8e0fd132a0998 Component: engine
This commit is contained in:
@@ -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
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user