From ee85efb76d6ff128b062bb4d3911249026deffbf Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Tue, 27 Sep 2016 18:58:48 +0200 Subject: [PATCH] Fix bash completion for `docker logs --since` Signed-off-by: Harald Albers --- contrib/completion/bash/docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index 18b8080c35..2c2a95fe04 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -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