Add bash completion for secret ls --format
Signed-off-by: Harald Albers <github@albersweb.de> Upstream-commit: 31a8965dd40ad576891d0c98f23b53d6aaf63ece Component: engine
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user