Fix bash completion for docker plugin ls
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 4489f4ab10
Component: cli
This commit is contained in:
committed by
Tibor Vass
parent
8e35845b73
commit
94ff9946b0
@ -3327,9 +3327,15 @@ _docker_plugin_list() {
|
||||
}
|
||||
|
||||
_docker_plugin_ls() {
|
||||
case "$prev" in
|
||||
--format)
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$cur" in
|
||||
-*)
|
||||
COMPREPLY=( $( compgen -W "--help --no-trunc --format --quiet" -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W "--format --help --no-trunc --quiet -q" -- "$cur" ) )
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user