Fix bash completion for docker plugin ls
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
8bb8ac7f78
commit
72bd2f8fd3
1 changed files with 7 additions and 1 deletions
|
@ -3323,9 +3323,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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue