summaryrefslogtreecommitdiffstats
path: root/lib/container
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-12-11 10:44:49 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-12-11 10:55:50 +0000
commit8871afb284ce710660aa8c09b6a4a07055bccb89 (patch)
treeb228156d427f2a8bcad68d65c1e032ba2747e31e /lib/container
parentRenaming full format in container list command to cli for consistency. (diff)
downloadcompute-tools-8871afb284ce710660aa8c09b6a4a07055bccb89.tar.xz
compute-tools-8871afb284ce710660aa8c09b6a4a07055bccb89.zip
Renaming short format in container list command to shell for consistency.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'lib/container')
-rwxr-xr-xlib/container/list8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/container/list b/lib/container/list
index a21a593..7e27a5f 100755
--- a/lib/container/list
+++ b/lib/container/list
@@ -118,7 +118,7 @@ List ()
done
;;
- short)
+ shell)
printf "${CONTAINER}\n"
;;
esac
@@ -139,9 +139,6 @@ ${WHITE} ${NORMAL} Container IPv4 Address(e
EOF
;;
-
- short)
- ;;
esac
CONTAINERS="$(cd "${MACHINES}" 2>/dev/null && find -maxdepth 1 -type d -and -not -name '.container-tools' -and -not -name 'container-tools' -and -not -name 'lost+found' -and -not -name '.snap' -and -not -name '.snapshot' -printf '%P\n' | sort)"
@@ -221,7 +218,4 @@ cat << EOF
EOF
;;
-
- short)
- ;;
esac