mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update bash-completion to reflect ability to push single tags
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
This commit is contained in:
parent
7c52ab7f83
commit
bdf4b74b52
1 changed files with 2 additions and 4 deletions
|
@ -393,7 +393,7 @@ _docker_ps()
|
||||||
{
|
{
|
||||||
case "$prev" in
|
case "$prev" in
|
||||||
--since|--before)
|
--since|--before)
|
||||||
__docker_containers_all
|
__docker_containers_all
|
||||||
;;
|
;;
|
||||||
-n)
|
-n)
|
||||||
return
|
return
|
||||||
|
@ -438,9 +438,7 @@ _docker_push()
|
||||||
{
|
{
|
||||||
local counter=$(__docker_pos_first_nonflag)
|
local counter=$(__docker_pos_first_nonflag)
|
||||||
if [ $cword -eq $counter ]; then
|
if [ $cword -eq $counter ]; then
|
||||||
__docker_image_repos
|
__docker_image_repos_and_tags
|
||||||
# TODO replace this with __docker_image_repos_and_tags
|
|
||||||
# see https://github.com/dotcloud/docker/issues/3411
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue