diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-12-11 10:42:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-12-11 10:47:12 +0000 |
commit | 36e09652b1ea35f3c4b7e92e0847d0c8eea3323b (patch) | |
tree | 06ec7c52712b9246ab40c8b906c468894e144414 /lib/container/list | |
parent | Sorting format code in container list command. (diff) | |
download | compute-tools-36e09652b1ea35f3c4b7e92e0847d0c8eea3323b.tar.xz compute-tools-36e09652b1ea35f3c4b7e92e0847d0c8eea3323b.zip |
Renaming full format in container list command to cli for consistency.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-x | lib/container/list | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/container/list b/lib/container/list index 3dd1ecf..a21a593 100755 --- a/lib/container/list +++ b/lib/container/list @@ -93,14 +93,14 @@ Usage () Parameters "${@}" LIST="${LIST:-started stopped}" -FORMAT="${FORMAT:-full}" +FORMAT="${FORMAT:-cli}" HOST="${HOST:-$(hostname -f)}" # Run List () { case "${FORMAT}" in - full) + cli) FIRST_LINE="true" for ADDRESS in ${ADDRESSES} @@ -125,7 +125,7 @@ List () } case "${FORMAT}" in - full) + cli) RED="$(tput setaf 1)$(tput bold)" GREEN="$(tput setaf 2)$(tput bold)" YELLOW="$(tput setaf 3)$(tput bold)" @@ -214,7 +214,7 @@ do done case "${FORMAT}" in - full) + cli) cat << EOF -------------------------------------------------------------------------------- |