Explorar el Código

Add bash completion for `docker system df`

Signed-off-by: Harald Albers <github@albersweb.de>
Harald Albers hace 8 años
padre
commit
09172051fc
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. 5 2
      contrib/completion/bash/docker

+ 5 - 2
contrib/completion/bash/docker

@@ -3100,9 +3100,12 @@ _docker_system() {
 	esac
 }
 
-# TODO new command
 _docker_system_df() {
-	:
+	case "$cur" in
+		-*)
+			COMPREPLY=( $( compgen -W "--help --verbose -v" -- "$cur" ) )
+			;;
+	esac
 }
 
 _docker_system_events() {