summaryrefslogtreecommitdiffstats
path: root/share/bash-completion
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-07-27 00:58:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-07-27 00:59:00 +0000
commit71ec84349d0f21c605d16f5334e58b31b0eeee8e (patch)
treeec9ad23b5013dba8f4d2222d368e69830f281c5c /share/bash-completion
parentReleasing debian version 20210726-1. (diff)
downloadopen-infrastructure-compute-tools-71ec84349d0f21c605d16f5334e58b31b0eeee8e.tar.xz
open-infrastructure-compute-tools-71ec84349d0f21c605d16f5334e58b31b0eeee8e.zip
Merging upstream version 20210727.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/bash-completion')
-rw-r--r--share/bash-completion/container16
1 files changed, 16 insertions, 0 deletions
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
;;