mirror of https://github.com/docker/cli.git
Merge pull request #1269 from albers/completion-cp--archive
Add bash completion for `cp --archive`
This commit is contained in:
commit
e8cd06c8eb
|
@ -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