Ver código fonte

Adding a more informative message if no supported environments are found.

Chris Alfonso 10 anos atrás
pai
commit
c07448bcb6
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      cluster.sh

+ 1 - 0
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