Add bash completion for secret ls --format
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
bce494f7a2
commit
31a8965dd4
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue