Merge pull request #6547 from tianon/update-bash-completion-for-pushing-tags
Update bash-completion to reflect ability to push single tags
This commit is contained in:
commit
2eac1c4bc5
1 changed files with 2 additions and 4 deletions
|
@ -385,7 +385,7 @@ _docker_ps()
|
|||
{
|
||||
case "$prev" in
|
||||
--since|--before)
|
||||
__docker_containers_all
|
||||
__docker_containers_all
|
||||
;;
|
||||
-n)
|
||||
return
|
||||
|
@ -430,9 +430,7 @@ _docker_push()
|
|||
{
|
||||
local counter=$(__docker_pos_first_nonflag)
|
||||
if [ $cword -eq $counter ]; then
|
||||
__docker_image_repos
|
||||
# TODO replace this with __docker_image_repos_and_tags
|
||||
# see https://github.com/dotcloud/docker/issues/3411
|
||||
__docker_image_repos_and_tags
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue