Просмотр исходного кода

Merge pull request #51 from calfonso/bz1174620

Adding a more informative message if no supported environments are found...
Jhon Honce 10 лет назад
Родитель
Сommit
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