Explorar el Código

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

Chris Alfonso hace 10 años
padre
commit
c07448bcb6
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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