Fix bash completion for `docker logs --since`

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2016-09-27 18:58:48 +02:00 committed by Tibor Vass
parent 21171be26e
commit ee85efb76d
1 changed files with 1 additions and 1 deletions

View File

@ -1406,7 +1406,7 @@ _docker_logs() {
COMPREPLY=( $( compgen -W "--details --follow -f --help --since --tail --timestamps -t" -- "$cur" ) )
;;
*)
local counter=$(__docker_pos_first_nonflag '--tail')
local counter=$(__docker_pos_first_nonflag '--since|--tail')
if [ $cword -eq $counter ]; then
__docker_complete_containers_all
fi