summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-04-01 19:10:04 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-04-16 10:19:45 +0000
commita2acf1e4508771b9b842a95f9e4bf1e1a4083b6b (patch)
tree542eec7edd256f3c5f21277d37b34e4dc19c9600 /bin
parentAdding start note about logout to container-shell. (diff)
downloadcompute-tools-a2acf1e4508771b9b842a95f9e4bf1e1a4083b6b.tar.xz
compute-tools-a2acf1e4508771b9b842a95f9e4bf1e1a4083b6b.zip
Completing output of container-shell help command.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xbin/container-shell3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/container-shell b/bin/container-shell
index 37a88df..5a2f03b 100755
--- a/bin/container-shell
+++ b/bin/container-shell
@@ -52,9 +52,10 @@ Shell ()
"")
echo
echo "The following ${PROGRAM} commands are available:"
+ echo
cd "/usr/lib/${SOFTWARE}/${PROGRAM}"
- ls
+ echo "$(for COMMAND in * logout; do echo ${COMMAND}; done | sort)"
cd "${OLDPWD}"
return