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
commit e8cd06c8eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)