From 55019ff4757681593a80775526029c2ff1907f5c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 27 Jul 2021 02:58:35 +0200 Subject: Adding upstream version 20210727. Signed-off-by: Daniel Baumann --- share/bash-completion/container | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'share/bash-completion') diff --git a/share/bash-completion/container b/share/bash-completion/container index bb3eb41..dfb7ad5 100644 --- a/share/bash-completion/container +++ b/share/bash-completion/container @@ -334,6 +334,22 @@ _container() return 0 ;; + update|u) + case "${prev}" in + -n|--name) + opts="$(container list -s -f shell)" + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; + + *) + opts="-n --name -y --yes" + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; + esac + ;; + version|ver) return 0 ;; -- cgit v1.2.3