Add bash completion for secret ls --format

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2017-03-22 12:48:03 -07:00
parent bce494f7a2
commit 31a8965dd4

View file

@ -3850,9 +3850,15 @@ _docker_secret_list() {
}
_docker_secret_ls() {
case "$prev" in
--format)
return
;;
esac
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--help --quiet -q" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--format --help --quiet -q" -- "$cur" ) )
;;
esac
}