1
0
mirror of https://github.com/docker/cli.git synced 2026-01-16 20:22:36 +03:00

Add bash completion for docker export --output

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers
2016-10-25 14:18:13 +02:00
committed by Tibor Vass
parent 5b3976457c
commit bf5201d2cf

View File

@@ -1007,9 +1007,16 @@ _docker_container_exec() {
}
_docker_container_export() {
case "$prev" in
--output|-o)
_filedir
return
;;
esac
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--help" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--help --output -o" -- "$cur" ) )
;;
*)
local counter=$(__docker_pos_first_nonflag)