浏览代码

Merge pull request #51 from calfonso/bz1174620

Adding a more informative message if no supported environments are found...
Jhon Honce 10 年之前
父节点
当前提交
6fed637dac
共有 1 个文件被更改,包括 1 次插入0 次删除
  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