summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2022-05-01 05:20:48 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2022-05-01 05:20:48 +0000
commitb8208d8791a8fcf328ed538ade5cc52d7066b79e (patch)
tree77b41c4fa90f04f97ab37e02f7ee3b05cc29c538
parentAdding container rebuild command. (diff)
downloadcompute-tools-b8208d8791a8fcf328ed538ade5cc52d7066b79e.tar.xz
compute-tools-b8208d8791a8fcf328ed538ade5cc52d7066b79e.zip
Correcting wrong shortlink for container restart command (rs instead of rt).
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rwxr-xr-xbin/container2
-rw-r--r--share/bash-completion/container2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/container b/bin/container
index 9bbb80d..7f76dc2 100755
--- a/bin/container
+++ b/bin/container
@@ -68,7 +68,7 @@ do
OPTIONS="$(echo "${OPTIONS}" | sed -e 's|--no-notification||')"
else
case "${COMMAND}" in
- build|b|get|g|move|mv|remove|rm|rebuild|rb|restart|rt|start|s|stop|t|update|u)
+ build|b|get|g|move|mv|remove|rm|rebuild|rb|restart|rs|start|s|stop|t|update|u)
if [ -z "${CONTAINER_USER}" ]
then
CONTAINER_USER="${SUDO_USER:-${USER}}"
diff --git a/share/bash-completion/container b/share/bash-completion/container
index 1637b5e..7a4a97c 100644
--- a/share/bash-completion/container
+++ b/share/bash-completion/container
@@ -280,7 +280,7 @@ _container()
esac
;;
- restart|rt)
+ restart|rs)
case "${prev}" in
-n|--name)
opts="$(container list -s -f shell)"