summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-06-29 08:35:11 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-06-29 09:12:26 +0000
commit7da2412234d357f9bd4679a1ab4b3b5a43b0740e (patch)
tree152e1e3f2589859869c0ab31510e64f4e4851912
parentUpdating bash-completion for container top command. (diff)
downloadcompute-tools-7da2412234d357f9bd4679a1ab4b3b5a43b0740e.tar.xz
compute-tools-7da2412234d357f9bd4679a1ab4b3b5a43b0740e.zip
Adjusting container list outout for container top command.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xlib/container/list4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/container/list b/lib/container/list
index 30edd5c..cd88475 100755
--- a/lib/container/list
+++ b/lib/container/list
@@ -130,7 +130,7 @@ List ()
{
case "${FORMAT}" in
cli)
- printf "%-80s %-29s\n" "${STATUS} ${BLUE}${CONTAINER}${NORMAL}" "${YELLOW}${ADDRESS}${NORMAL}"
+ printf "%1s %-74s %-19s\n" "${STATUS}" "${BLUE}${CONTAINER}${NORMAL}" "${YELLOW}${ADDRESS}${NORMAL}"
;;
csv)
@@ -222,7 +222,7 @@ case "${FORMAT}" in
NORMAL="$(tput sgr0)"
cat << EOF
-${WHITE} ${NORMAL} Container IPv4 Address(es)
+${WHITE} ${NORMAL} Container IPv4 Address(es)
--------------------------------------------------------------------------------
EOF