Fix bash completion for `docker plugin ls`

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2017-01-23 18:24:51 +01:00 committed by Tibor Vass
parent e541799eed
commit 4489f4ab10
1 changed files with 7 additions and 1 deletions

View File

@ -3327,9 +3327,15 @@ _docker_plugin_list() {
}
_docker_plugin_ls() {
case "$prev" in
--format)
return
;;
esac
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--help --no-trunc --format --quiet" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--format --help --no-trunc --quiet -q" -- "$cur" ) )
;;
esac
}