Skip to content

Commit

Permalink
Fix bash completion for events --filter daemon=
Browse files Browse the repository at this point in the history
Signed-off-by: Harald Albers <[email protected]>
(cherry picked from commit 3f7b156)
Signed-off-by: Paweł Gronowski <[email protected]>
  • Loading branch information
albers authored and vvoland committed Oct 21, 2024
1 parent 0008d79 commit dc36908
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 dc36908

Please sign in to comment.