summaryrefslogtreecommitdiffstats
path: root/share/bash-completion
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-07-22 18:14:36 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-07-23 08:20:54 +0000
commitdb2a19b9a75555d7747c6e991df96956bdda6038 (patch)
tree06d07426593ac7502f635229daad7a22a6dac222 /share/bash-completion
parentMoving image cache from /var/cache/container-tools/images to /var/cache/conta... (diff)
downloadcompute-tools-db2a19b9a75555d7747c6e991df96956bdda6038.tar.xz
compute-tools-db2a19b9a75555d7747c6e991df96956bdda6038.zip
Adding container key command.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/bash-completion')
-rw-r--r--share/bash-completion/container6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/bash-completion/container b/share/bash-completion/container
index 535599a..ffa042d 100644
--- a/share/bash-completion/container
+++ b/share/bash-completion/container
@@ -97,6 +97,12 @@ _container()
esac
;;
+ key)
+ opts="-a --add -l --list -r --remove"
+ COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
+ return 0
+ ;;
+
limit)
case "${prev}" in
-n|--name)