mirror of https://github.com/docker/cli.git
Add bash completion for `secret ls --format`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
9bd9b918be
commit
c6875037bb
|
@ -3850,9 +3850,15 @@ _docker_secret_list() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_docker_secret_ls() {
|
_docker_secret_ls() {
|
||||||
|
case "$prev" in
|
||||||
|
--format)
|
||||||
|
return
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
-*)
|
-*)
|
||||||
COMPREPLY=( $( compgen -W "--help --quiet -q" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "--format --help --quiet -q" -- "$cur" ) )
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue