From c07448bcb659bb13d3e3fba9fff7e7c0a1a18a5c Mon Sep 17 00:00:00 2001 From: Chris Alfonso Date: Tue, 3 Feb 2015 15:53:04 -0500 Subject: Adding a more informative message if no supported environments are found. --- cluster.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'cluster.sh') diff --git a/cluster.sh b/cluster.sh index ff1c20566..7f541e4f8 100755 --- a/cluster.sh +++ b/cluster.sh @@ -25,6 +25,7 @@ function usage { Supported environment tags: $(grep --no-messages 'SUPPORTED_ENVS.*=' ./lib/${PROVIDER}_command.rb) + $([ $? -ne 0 ] && echo "No supported environment tags found for ${PROVIDER}") EOT } # @formatter:on -- cgit v1.2.3