mirror of https://github.com/docker/docs.git
Merge pull request #22714 from albers/completion-logs--details
bash completion for `docker logs --details`
This commit is contained in:
commit
a213a446d7
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue