1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

Merge pull request #1269 from albers/completion-cp--archive

Add bash completion for `cp --archive`
This commit is contained in:
Sebastiaan van Stijn
2018-08-03 23:48:52 +02:00
committed by GitHub

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)