Skip to content

Commit

Permalink
Merge pull request moby#17857 from sdurrheimer/zsh-completion-stats-all
Browse files Browse the repository at this point in the history
Add zsh completion for 'docker stats --all -a'
  • Loading branch information
vdemeester committed Nov 10, 2015
2 parents 34916dc + ba2a5a4 commit fb2bae5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/completion/zsh/_docker
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down

0 comments on commit fb2bae5

Please sign in to comment.