Add bash completion for `cp --archive`

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2018-08-03 14:30:30 +02:00
parent e902ae9f84
commit b9b3754ad3
1 changed files with 1 additions and 1 deletions

View File

@ -1437,7 +1437,7 @@ _docker_container_commit() {
_docker_container_cp() {
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)