From 402a3400f0d6a0b5f22e01bc6aff22b1fdde8e55 Mon Sep 17 00:00:00 2001 From: Wayne Cheng Date: Mon, 1 Jan 2024 16:28:37 +0800 Subject: [PATCH] bash completion for `docker manifest ls` Signed-off-by: Wayne Cheng --- contrib/completion/bash/docker | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index b8fa557cb5..bce9df9cee 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -4140,6 +4140,11 @@ _docker_manifest() { inspect push rm + ls + " + + local aliases=" + list " __docker_subcommands "$subcommands" && return @@ -4249,6 +4254,14 @@ _docker_manifest_rm() { esac } +_docker_manifest_ls() { + case "$cur" in + -*) + COMPREPLY=( $( compgen -W "--format --help --quiet -q" -- "$cur" ) ) + ;; + esac +} + _docker_node() { local subcommands=" demote