Merge pull request #26955 from albers/completion-fix-logs--since
Fix bash completion for `docker logs --since` Upstream-commit: e8dc339d43e3bccf48a90ef14ac5e6f05f72a478 Component: engine
This commit is contained in:
@@ -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