Skip to content

Commit

Permalink
Merge pull request #5554 from albers/fix-completion-events-filter-daemon
Browse files Browse the repository at this point in the history
Fix bash completion for `events --filter daemon=`
  • Loading branch information
thaJeztah authored Oct 19, 2024
2 parents 8a7c5ae + 3f7b156 commit 062eecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completion/bash/docker
Original file line number Diff line number Diff line change
Expand Up @@ -5081,7 +5081,7 @@ _docker_system_events() {
return
;;
daemon)
local name=$(__docker_q info | sed -n 's/^\(ID\|Name\): //p')
local name=$(__docker_q info --format '{{.Info.Name}} {{.Info.ID}}')
COMPREPLY=( $( compgen -W "$name" -- "${cur##*=}" ) )
return
;;
Expand Down

0 comments on commit 062eecf

Please sign in to comment.