1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #19655 from sdurrheimer/zsh-completion-cp-follow-link

Add zsh completion for 'docker cp -L --follow-link'
This commit is contained in:
Brian Goff 2016-01-25 09:28:26 -05:00
commit 9211fc36a9

View file

@ -592,6 +592,7 @@ __docker_subcommand() {
(cp) (cp)
_arguments $(__docker_arguments) \ _arguments $(__docker_arguments) \
$opts_help \ $opts_help \
"($help -L --follow-link)"{-L,--follow-link}"[Always follow symbol link in SRC_PATH]" \
"($help -)1:container:->container" \ "($help -)1:container:->container" \
"($help -)2:hostpath:_files" && ret=0 "($help -)2:hostpath:_files" && ret=0
case $state in case $state in