瀏覽代碼

Fix bash completion for `docker logs --since`

Signed-off-by: Harald Albers <github@albersweb.de>
Harald Albers 8 年之前
父節點
當前提交
0e2244352a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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