From 172dc4053fcac5673f3b837cf2e1c2d202132ec7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 9 Jul 2017 08:23:25 +0200 Subject: Adding message about enabled and disabled container commands in container-shell help. Signed-off-by: Daniel Baumann --- bin/container-shell | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'bin') diff --git a/bin/container-shell b/bin/container-shell index 38a9ab9..4847986 100755 --- a/bin/container-shell +++ b/bin/container-shell @@ -66,6 +66,22 @@ Shell () find . -type f -printf "%f\n" | sort cd "${OLDPWD}" + if [ -n "${CONTAINER_COMMANDS_ENABLE}" ] + then + echo + echo "The following container commands are enabled for the current user:" + echo + echo "${CONTAINER_COMMANDS_ENABLE}" + fi + + if [ -n "${CONTAINER_COMMANDS_DISABLE}" ] + then + echo + echo "The following container commands are disabled for the current user:" + echo + echo "${CONTAINER_COMMANDS_DISABLE}" + fi + echo echo "Use 'help COMMAND' for more information." -- cgit v1.2.3