From f6219ac3c6b181f00e7989dc1bed329e39c6f93e Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Mon, 4 Sep 2017 18:21:47 +0200 Subject: [PATCH] Add bash completion for `search --format` Signed-off-by: Harald Albers --- contrib/completion/bash/docker | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index f9186d819a..f5e0a273e2 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -4287,14 +4287,14 @@ _docker_search() { __docker_nospace return ;; - --limit) + --format|--limit) return ;; esac case "$cur" in -*) - COMPREPLY=( $( compgen -W "--filter --help --limit --no-trunc" -- "$cur" ) ) + COMPREPLY=( $( compgen -W "--filter -f --format --help --limit --no-trunc" -- "$cur" ) ) ;; esac }