summaryrefslogtreecommitdiffstats
path: root/share/bash-completion
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2019-03-02 08:45:28 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2019-03-02 09:17:57 +0000
commitfd7f55531985f06df5e654c05ac478f5d8d4febc (patch)
tree3dfd1a89e2a6a5da295bf1de9a74937bf828d183 /share/bash-completion
parentUpdating list of container commands to be logged. (diff)
downloadcompute-tools-fd7f55531985f06df5e654c05ac478f5d8d4febc.tar.xz
compute-tools-fd7f55531985f06df5e654c05ac478f5d8d4febc.zip
Updating list of container shortcut commands.
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, 3 insertions, 3 deletions
diff --git a/share/bash-completion/container b/share/bash-completion/container
index 4bc386a..0013394 100644
--- a/share/bash-completion/container
+++ b/share/bash-completion/container
@@ -44,7 +44,7 @@ _container()
return 0
;;
- console|con)
+ console)
case "${prev}" in
-n|--name)
opts="$(container list -s -f shell)"
@@ -60,7 +60,7 @@ _container()
esac
;;
- create)
+ create|cr)
case "${prev}" in
-n|--name)
opts="$(cd /etc/open-infrastructure/container/debconf 2>/dev/null && ls *.cfg */*.cfg 2>/dev/null | sed -e 's|.*/||g' -e 's|.cfg$||g')"
@@ -189,7 +189,7 @@ _container()
esac
;;
- restart)
+ restart|rt)
case "${prev}" in
-n|--name)
opts="$(container list -s -f shell)"