Selaa lähdekoodia

Merge pull request #22714 from albers/completion-logs--details

bash completion for `docker logs --details`
Sebastiaan van Stijn 9 vuotta sitten
vanhempi
commit
a213a446d7
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      contrib/completion/bash/docker

+ 1 - 1
contrib/completion/bash/docker

@@ -1260,7 +1260,7 @@ _docker_logs() {
 
 
 	case "$cur" in
 	case "$cur" in
 		-*)
 		-*)
-			COMPREPLY=( $( compgen -W "--follow -f --help --since --tail --timestamps -t" -- "$cur" ) )
+			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 '--tail')