summaryrefslogtreecommitdiffstats
path: root/share/bash-completion
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2019-03-02 10:48:24 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2019-03-02 10:50:32 +0000
commitd1f2f9dc23e67031a0f33179de49fabe4749eb20 (patch)
tree9823141f9f8ca2ca490a0a63c5fbf6e7f9448489 /share/bash-completion
parentReleasing version 20190301. (diff)
downloadcompute-tools-d1f2f9dc23e67031a0f33179de49fabe4749eb20.tar.xz
compute-tools-d1f2f9dc23e67031a0f33179de49fabe4749eb20.zip
Readding key command.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-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 0013394..710e660 100644
--- a/share/bash-completion/container
+++ b/share/bash-completion/container
@@ -98,6 +98,12 @@ _container()
esac
;;
+ key)
+ opts="-a --add -l --list -r --remove"
+ COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
+ return 0
+ ;;
+
list|ls)
case "${prev}" in
-h|--host)