Add bash completion for node ls --format

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: e3cab9a751
Component: cli
This commit is contained in:
Harald Albers
2017-04-10 12:57:32 -07:00
committed by Tibor Vass
parent 672083e3c3
commit 222458ca3f

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
}