Add bash completion for `node ls --format`

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2017-04-10 12:57:32 -07:00 committed by Tibor Vass
parent 114cc6ca3a
commit e3cab9a751
1 changed files with 4 additions and 1 deletions

View File

@ -3472,11 +3472,14 @@ _docker_node_ls() {
__docker_nospace
return
;;
--format)
return
;;
esac
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--filter -f --help --quiet -q" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--filter -f --format --help --quiet -q" -- "$cur" ) )
;;
esac
}