Explorar o código

Fix bash completion for `docker logs --since`

Signed-off-by: Harald Albers <github@albersweb.de>
Harald Albers %!s(int64=8) %!d(string=hai) anos
pai
achega
0e2244352a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      contrib/completion/bash/docker

+ 1 - 1
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