Fix bash completion for docker logs --since
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: ee85efb76d
Component: cli
This commit is contained in:
committed by
Tibor Vass
parent
9e4af04ffc
commit
61649df81a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user