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 committed by Tibor Vass
parent 9bd9b918be
commit c6875037bb
1 changed files with 7 additions and 1 deletions

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
}