lib/aws/cfn/compiler/mixins/options.rb in aws-cfn-compiler-0.8.1 vs lib/aws/cfn/compiler/mixins/options.rb in aws-cfn-compiler-0.8.2

- old
+ new

@@ -25,9 +25,15 @@ if ARGV.size > 0 puts @opts puts "Extra arguments! #{ARGV}" exit 1 end + + unless @opts[:specification] + puts @opts + abort! "Missing required option --specification" + end + end def set_config_options @config[:precedence] = @opts[:precedence].split(%r',+\s*').reverse