mirror of https://github.com/docker/cli.git
Add bash completion for `cp --archive`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
e902ae9f84
commit
b9b3754ad3
|
@ -1437,7 +1437,7 @@ _docker_container_commit() {
|
||||||
_docker_container_cp() {
|
_docker_container_cp() {
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
-*)
|
-*)
|
||||||
COMPREPLY=( $( compgen -W "--follow-link -L --help" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "--archive -a --follow-link -L --help" -- "$cur" ) )
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
local counter=$(__docker_pos_first_nonflag)
|
local counter=$(__docker_pos_first_nonflag)
|
||||||
|
|
Loading…
Reference in New Issue