summaryrefslogtreecommitdiff
path: root/contrib/completion/bash
diff options
context:
space:
mode:
authorunclejack <unclejack@users.noreply.github.com>2014-04-09 01:56:01 +0300
committerunclejack <unclejack@users.noreply.github.com>2014-04-09 01:56:01 +0300
commite128a606e39fa63c6b4fd6e53a1d88cf00aad868 (patch)
tree199ee7eb6678ffecd2ddad95fce794c795ad5183 /contrib/completion/bash
parent143c9707a9fafc39e1d9747f528db97b2564f01e (diff)
parentdc9c28f51d669d6b09e81c2381f800f1a33bb659 (diff)
downloaddocker-release-0.10.tar.gz
Merge pull request #5079 from unclejack/bump_v0.10.0release-0.100.10.1-hotfixes
Bump version to v0.10.0
Diffstat (limited to 'contrib/completion/bash')
-rwxr-xr-xcontrib/completion/bash/docker9
1 files changed, 3 insertions, 6 deletions
diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker
index 1449330986..e6a191d32b 100755
--- a/contrib/completion/bash/docker
+++ b/contrib/completion/bash/docker
@@ -392,11 +392,8 @@ _docker_port()
_docker_ps()
{
case "$prev" in
- --since-id|--before-id)
- COMPREPLY=( $( compgen -W "$( __docker_q ps -a -q )" -- "$cur" ) )
- # TODO replace this with __docker_containers_all
- # see https://github.com/dotcloud/docker/issues/3565
- return
+ --since|--before)
+ __docker_containers_all
;;
-n)
return
@@ -407,7 +404,7 @@ _docker_ps()
case "$cur" in
-*)
- COMPREPLY=( $( compgen -W "-q --quiet -s --size -a --all --no-trunc -l --latest --since-id --before-id -n" -- "$cur" ) )
+ COMPREPLY=( $( compgen -W "-q --quiet -s --size -a --all --no-trunc -l --latest --since --before -n" -- "$cur" ) )
;;
*)
;;