Browse Source

Merge pull request #10357 from jfrazelle/bash-completion-stats

Add completion for stats.
Arnaud Porterie 10 years ago
parent
commit
f23c136a95
1 changed files with 5 additions and 0 deletions
  1. 5 0
      contrib/completion/bash/docker

+ 5 - 0
contrib/completion/bash/docker

@@ -789,6 +789,10 @@ _docker_start() {
 	esac
 }
 
+_docker_stats() {
+	__docker_containers_running
+}
+
 _docker_stop() {
 	case "$prev" in
 		--time|-t)
@@ -886,6 +890,7 @@ _docker() {
 		save
 		search
 		start
+		stats
 		stop
 		tag
 		top