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 }