diff options
| author | Chris Alfonso <calfonso@redhat.com> | 2015-02-03 15:53:04 -0500 |
|---|---|---|
| committer | Chris Alfonso <calfonso@redhat.com> | 2015-02-03 15:53:04 -0500 |
| commit | c07448bcb659bb13d3e3fba9fff7e7c0a1a18a5c (patch) | |
| tree | a10229c8fe40c293e7943bccf44f24b3abac7aa7 | |
| parent | a99c327f54fe771e49e93cc4ba8640a71c35e04b (diff) | |
Adding a more informative message if no supported environments are found.
| -rwxr-xr-x | cluster.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
