From 09172051fc90c55bb06359b60918d15feb9aecc4 Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Sat, 5 Nov 2016 10:12:35 -0700 Subject: [PATCH] Add bash completion for `docker system df` Signed-off-by: Harald Albers --- contrib/completion/bash/docker | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index f262559801..a016efaefd 100644 --- a/contrib/completion/bash/docker +++ b/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() {